tools

JSON to YAML

Convert a JSON string to YAML text. Strings are quoted only when a YAML reader would otherwise see a number, boolean, date or empty value, multi-line strings become block scalars, and keys can be sorted.

post/api/v1/tools/json-to-yaml

Request

  • Base URL: https://toolforte.com
  • URL: https://toolforte.com/api/v1/tools/json-to-yaml
  • Auth: HTTP bearer

Request body

jsonstring
indentinteger
sortKeysboolean
nullStylestring

Response

Successful result

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.