Convert JSON to YAML.
agent402.tools/api/json-to-yaml
Convert JSON to YAML.
POST
https://agent402.tools/api/json-to-yamlUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent402.tools/api/json-to-yaml", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"json":{"name":"Ada","tags":["eng"]}}),
});
console.log(await res.json());Example input
{
"json": {
"name": "Ada",
"tags": [
"eng"
]
}
}More from JSON to YAML
- agent-data-tools.revmesh2074.workers.dev/json/to-yamlJSON to YAML. Convert a JSON value into a YAML document (block style, no line folding), for config files, Kubernetes manifests, GitHub Actions or docs that humans edit. Up to 100 KB of JSON. Use when a tool or person wants YAML; for the reverse use yaml_to_json. Invalid JSON is a 400, uncharged.0.01
- api.gadgethumans.com/json-to-yamlConvert JSON into equivalent YAML, preserving nesting and types. Pure CPU, instant. Use for config files and Kubernetes or CI manifests.0.001
