tools

YAML to JSON

Parse YAML text and return both the value and its JSON text. Reads maps, lists, inline [lists] and {maps}, quoted and block scalars and comments. Anchors, aliases, merge keys, tags and multi-document files are not supported and are reported with the line number.

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

Request

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

Request body

yamlstring
indentinteger

Response

Successful result

okboolean

Changes

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