2023-12-26 11:42:23 +01:00
|
|
|
<!--
|
|
|
|
Copyright JS Foundation and other contributors, http://js.foundation
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script type="text/html" data-help-name="yaml">
|
2023-12-26 13:16:02 +01:00
|
|
|
<p>Convierte entre una cadena con formato YAML y su representación de objeto JavaScript, en cualquier dirección.</p>
|
|
|
|
<h3>Entradas</h3>
|
2023-12-26 11:42:23 +01:00
|
|
|
<dl class="message-properties">
|
2023-12-26 13:16:02 +01:00
|
|
|
<dt>payload<span class="property-type">objeto | texto</span></dt>
|
|
|
|
<dd>Un objeto JavaScript o una cadena YAML.</dd>
|
2023-12-26 11:42:23 +01:00
|
|
|
</dl>
|
2023-12-26 13:16:02 +01:00
|
|
|
<h3>Salidas</h3>
|
2023-12-26 11:42:23 +01:00
|
|
|
<dl class="message-properties">
|
2023-12-26 13:16:02 +01:00
|
|
|
<dt>payload<span class="property-type">objeto | texto</span></dt>
|
2023-12-26 11:42:23 +01:00
|
|
|
<dd>
|
|
|
|
<ul>
|
2023-12-26 13:16:02 +01:00
|
|
|
<li>Si la entrada es una cadena YAML, intenta convertirla en un objeto JavaScript.</li>
|
|
|
|
<li>Si la entrada es un objeto JavaScript, crea una cadena YAML.</li>
|
2023-12-26 11:42:23 +01:00
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</script>
|