Json Lint
Check JSON text and point at the first syntax error: its line, column, character position (offset), the path in the document where it stopped, and a short excerpt with a marker under the spot, with a clear message for trailing commas, comments, single quotes, unclosed brackets and bad escapes. Also lists duplicate object keys, which JSON.parse accepts silently. For a trailing comma, json-repair points at the comma and json-lint at the bracket after it.
POST https://agent402.tools/api/json-lint
0.001 USDC on Base · payTo 0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"json": "{\n \"name\": \"Ada\",\n \"tags\": [\"eng\", \"math\",]\n}"
}{
"chars": 47,
"duplicateKeyCount": 0,
"duplicateKeys": [],
"duplicateKeysTruncated": false,
"syntaxError": {
"column": 26,
"excerpt": " \"tags\": [\"eng\", \"math\",]",
"line": 3,
"message": "Trailing comma before \"]\"",
"offset": 44,
"path": "$.tags[2]",
"pointer": " ^"
},
"valid": false
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://agent402.tools/api/json-lint · input in body · spec from live-challenge
Input schema
{
"properties": {
"json": {
"type": "string",
"description": "JSON text to check (at most 100,000 characters)"
}
},
"required": [
"json"
]
}Output schema
{
"type": "object",
"properties": {
"valid": {
"type": "boolean"
},
"syntaxError": {
"type": "object"
},
"chars": {
"type": "number"
},
"duplicateKeyCount": {
"type": "number"
},
"duplicateKeys": {
"type": "array"
},
"duplicateKeysTruncated": {
"type": "boolean"
}
},
"required": [
"valid",
"syntaxError",
"chars",
"duplicateKeyCount",
"duplicateKeys",
"duplicateKeysTruncated"
]
}curl -i -X POST 'https://agent402.tools/api/json-lint' \
-H 'content-type: application/json' -d '{"json":"{\n \"name\": \"Ada\",\n \"tags\": [\"eng\", \"math\",]\n}"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs