# JSON报文
## **概述**
JSON报文,遵循标准的JSON格式来解析报文信息,格式如下:
```
<pre class="calibre29">```
<span class="token1">{</span>
<span class="token3">"A"</span><span class="token1">:</span> <span class="token2">2000</span><span class="token1">,</span>
<span class="token3">"B"</span><span class="token1">:</span> <span class="token1">{</span>
<span class="token3">"name"</span><span class="token1">:</span> <span class="token3">"billy"</span><span class="token1">,</span>
<span class="token3">"language"</span><span class="token1">:</span> <span class="token3">"java"</span>
<span class="token1">}</span>
<span class="token1">}</span>
```
```
JSON报文是根据路径进行解析,例如我们要访问交易码2000,那么我们访问的路径path为:/A即可。如果path为:/B/name,将得到billy
## **配置**
![](https://img.kancloud.cn/dc/99/dc99c49593c81d774f84475a4ea7d45a_1434x407.png)
1. JSON报文配置当中若直接将JSON映射为MAP,则在报文配置中设置自动适配为“是”,此时不需要配置报文字段解组包规则