Moved options property from Outputs to Inputs section

This commit is contained in:
JeanCarl Bisson
2020-05-19 20:31:02 -07:00
parent 15cc88de6c
commit 367ebc1dd4
6 changed files with 16 additions and 16 deletions

View File

@@ -20,6 +20,8 @@
<dl class="message-properties">
<dt>payload<span class="property-type">object | 字符串</span></dt>
<dd>JavaScript对象或XML字符串</dd>
<dt class="optional">options <span class="property-type">object</span></dt>
<dd>可以将选项传递给内部使用的XML转换库请参见<a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank"> xml2js文档</a> </dd>
</dl>
<h3>输出</h3>
<dl class="message-properties">
@@ -30,8 +32,6 @@
<li>如果输入是JavaScript对象它将尝试构建XML字符串</li>
</ul>
</dd>
<dt class="optional">options <span class="property-type">object</span></dt>
<dd>可以将选项传递给内部使用的XML转换库请参见<a href="https://github.com/Leonidas-from-XIV/node-xml2js/blob/master/README.md#options" target="_blank"> xml2js文档</a> </dd>
</dl>
<h3>详细</h3>
<p>在XML和对象之间进行转换时默认情况下XML属性会添加到名为<code>$</code><code>_</code></p>