YAML to JSON

yaml-to-json · version 1.0.0 · YAML, TOML, INI, XML & TSV · free, no key needed

Convert a YAML string to a JSON object or array.

Use when you need to: yaml to json · parse yaml · convert yaml to json.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "yaml": "name: Ada\ncity: London\n"
}

Response:

{
  "result": {
    "name": "Ada",
    "city": "London"
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "yaml-to-json",
  "version": "1.0.0",
  "input": {
    "yaml": "name: Ada\ncity: London\n"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/yaml-to-json/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"yaml":"name: Ada\ncity: London\n"}'

The machine-readable contract is at /v1/tools/yaml-to-json/versions/1.0.0.

CLI

node cli.mjs run yaml-to-json 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.