format.halowerk.com/v1/json-yaml-toml
Convert between JSON, JSONC, YAML 1.2 and TOML 1.0 and keep comments where the target format allows them; integer/float distinction, 64-bit integers and TOML dates survive. Reads JSON (exact big integers), JSONC (jsonc-parser), YAML 1.2 (yaml package, one document, alias limit 100, YAML 1.1 merge keys resolved) or TOML 1.0.0 with an own parser that accepts all 208 valid and rejects all 509 invalid
POST
https://format.halowerk.com/v1/json-yaml-tomlUptime100% 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://format.halowerk.com/v1/json-yaml-toml", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"content":"# Service\nserver:\n host: halowerk.com # public name\n port: 8080\n","from":"yaml","to":"toml"}),
});
console.log(await res.json());Example input
{
"content": "# Service\nserver:\n host: halowerk.com # public name\n port: 8080\n",
"from": "yaml",
"to": "toml"
}