82trust / 100

Json

by JSON Validate, Repair, Convert, in Documents & files

x402 APIPassing, checked 3 h ago

Every agent and developer hits broken or confusing JSON. This tool handles the common headaches in one place: check whether JSON is valid with the exact error location, repair near-JSON with typos, pretty-print or minify, pull values out with a path expression, diff two documents, convert to and from YAML or CSV, produce a byte-stable canonical form for hashing, validate against a schema, and report size and structure. Same input, same output, no side effects.

POST https://json-suite.underscoredone.com/json

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
237 ms typical, 237 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://json-suite.underscoredone.com/json" \
  -H "content-type: application/json" \
  -d '{"data":{"order":{"id":"A-1029","items":[{"qty":2,"sku":"BIL-CUE-07"},{"qty":5,"sku":"BIL-CHALK-01"}]}},"op":"query","options":{"jsonpath":"$.order.items[*].sku"}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fjson-suite.underscoredone.com%2Fjson
const res = await pay("https://json-suite.underscoredone.com/json", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"data":{"order":{"id":"A-1029","items":[{"qty":2,"sku":"BIL-CUE-07"},{"qty":5,"sku":"BIL-CHALK-01"}]}},"op":"query","options":{"jsonpath":"$.order.items[*].sku"}}),
});
console.log(await res.json());

Example input

{
  "data": {
    "order": {
      "id": "A-1029",
      "items": [
        {
          "qty": 2,
          "sku": "BIL-CUE-07"
        },
        {
          "qty": 5,
          "sku": "BIL-CHALK-01"
        }
      ]
    }
  },
  "op": "query",
  "options": {
    "jsonpath": "$.order.items[*].sku"
  }
}

Example output

{
  "api_version": "1.0.0",
  "match_count": 2,
  "matches": [
    {
      "path": "$.order.items[0].sku",
      "value": "BIL-CUE-07"
    },
    {
      "path": "$.order.items[1].sku",
      "value": "BIL-CHALK-01"
    }
  ],
  "op": "query",
  "valid": true
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402237 ms$0.01