Json Yaml Converter API
POST
https://api.findutils.com/api/tools/json-yaml-converter/execute Convert JSON to YAML or YAML to JSON and return the converted text. json-to-yaml emits block-style YAML with the chosen indentation; yaml-to-json emits pretty-printed JSON. Parse errors report the line and column.
Request body
application/json-
input
string required
The JSON or YAML text to convert.
-
mode
string optional
Conversion direction. Default: json-to-yaml. One of
json-to-yaml · yaml-to-json. Default"json-to-yaml". -
indent
integer optional
Indentation width for the output (1-8). Default: 2. Default
2.
Example arguments
Verified{
"input": {
"name": "x",
"tags": [
"a",
"b"
]
}
} More Data tools
- Api Docs Generator Return API documentation generated from a list of endpoints, as Markdown (with table of contents, request/response examples)…
- Bookmarks Html To Csv Convert a browser bookmarks.html export from Chrome, Firefox, Edge, Safari or any other browser that writes the Netscape bookmark format…
- Bookmarks Json To Html Convert a bookmarks JSON file into a Netscape bookmarks.html that Chrome, Firefox, Edge and Safari import.
- Csv Dedupe Remove duplicate rows from a CSV or TSV table.
- Csv Diff Compare two CSV or TSV tables by key column and list the rows that were added, removed or changed - a table diff, not a line diff, so rows…
- Csv To Bookmarks Html Convert a CSV of links into a Netscape bookmarks.html file that Chrome, Firefox, Edge and Safari import.