YAML to JSON
agent-data-tools.revmesh2074.workers.dev/yaml/to-json
YAML to JSON. Convert a YAML document (config files, Kubernetes manifests, OpenAPI specs, front matter) into JSON, parsed by the yaml library with anchors and aliases resolved (alias expansion capped against billion-laughs documents) and duplicate keys refused. Up to 100 KB. Use before feeding YAML into a JSON-only tool or schema check; for the reverse use json_to_yaml. Invalid YAML is a 400 with
GET
https://agent-data-tools.revmesh2074.workers.dev/yaml/to-jsonUptime100% of 2 checks in 30 days
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
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/yaml/to-json?yaml=name%3A+agent%0Aports%3A%0A++-+80%0A++-+443%0Aenabled%3A+true");
console.log(await res.json());Example input
{
"yaml": "name: agent\nports:\n - 80\n - 443\nenabled: true"
}