Skip to content
Fourohtwo

fastx402.tools/json-structural-diff

Compares two JSON documents and returns added, removed, and changed paths with their values. Use it to inspect configuration, API response, or document changes without writing comparison code.

BaseUnchecked
GEThttps://fastx402.tools/json-structural-diff

UptimeNot 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://fastx402.tools/json-structural-diff?a=%7B%22db%22%3A+%7B%22host%22%3A+%22localhost%22%2C+%22port%22%3A+5432%7D%7D&b=%7B%22db%22%3A+%7B%22host%22%3A+%22db.example.com%22%2C+%22port%22%3A+5432%7D%2C+%22debug%22%3A+true%7D");
console.log(await res.json());

Example input

{
  "a": "{\"db\": {\"host\": \"localhost\", \"port\": 5432}}",
  "b": "{\"db\": {\"host\": \"db.example.com\", \"port\": 5432}, \"debug\": true}"
}

More from FastX402 Lab