<!-- 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"> <p>Converte entre uma cadeia de caracteres formatada em YAML e sua representação de objeto JavaScript, em qualquer direção.</p> <h3>Entradas</h3> <dl class="message-properties"> <dt>carga útil<span class="property-type">objeto | cadeia de caracteres</span></dt> <dd>Um objeto JavaScript ou cadeia de caracteres YAML.</dd> </dl> <h3>Saídas</h3> <dl class="message-properties"> <dt>carga útil<span class="property-type"> objeto | cadeia de caracteres</span></dt> <dd> <ul> <li>Se a entrada for uma cadeia de caracteres YAML, tentar-se-a analisá-la sintáticamente como um objeto JavaScript.</li> <li>Se a entrada for um objeto JavaScript, cria-se uma cadeia de caracteres YAML.</li> </ul> </dd> </dl> </script>