Đang chọn gợi ý…
Chọn ngẫu nhiên một nội dung dành cho bạn.
Mở ngay →Test JSONPath queries against JSON samples. Supports recursive descent, slice, basic filters. Great for picking data from API responses, debugging LLM structured output.
| $ | Root object |
| $.foo / $["foo"] | Property foo |
| $.foo.bar | Nested property |
| $[0] | First array element |
| $[-1] | Last element |
| $[*] | All elements |
| $[0:3] | Slice 0..2 |
| $..price | Recursive — every `price` at any level |
| $.items[?(@.price > 100)] | Filter (subset) |
Test JSONPath queries against a JSON sample. Implements a JSONPath subset (RFC 9535 draft). Pick data from API responses, debug LLM structured output.
JSONPath = "XPath for JSON". A query syntax to extract slices of data from JSON objects/arrays. Common in:
$.data.users[0].id === 1.--query 'Reservations[*].Instances[*].PublicIpAddress'.$ — root.$.foo or $["foo"] — property.$[0] — index, $[-1] — last.$[*] — all elements/properties.$[0:3] — slice.$..price — recursive descent (every price at any level).$.items[?(@.price > 100)] — filter.// API response
{
"store": {
"books": [
{ "title": "AI for Everyone", "price": 350000 },
{ "title": "Sapiens", "price": 280000 }
]
}
}
// Get all titles:
$.store.books[*].title // ["AI for Everyone", "Sapiens"]
// Books with price > 300k:
$.store.books[?(@.price > 300000)]
// Recursive — every price in the document:
$..price // [350000, 280000] /foo/0/bar): points to a single location, no wildcards.Fullstack/backend/devops engineers — debug JWT, format JSON/SQL, parse cURL, compute CIDR subnets, draft Mermaid diagrams, write conventional commits… Daily toolkit alongside your terminal and editor.
No. All TopDev dev tools run 100% client-side — JWT, SQL, JSON, cURL, regex… process in-browser. Disconnect to verify. Safe for internal tokens, production DB queries, API keys.
Tools work offline after the first load. Installable PWA is on the roadmap — for now you can bookmark and use without internet.
Decode JWT tokens — header, payload, claims with readable timestamps.
NEWPaste 2 texts → highlight diffs at word/line/char level. Great for diffing AI outputs.
NEWGenerate JSON Schema (Draft-07) from a sample — for LLM structured output and API validation.
NEWFormat / minify / validate JSON. Sort keys A-Z, custom indent, Ctrl+Enter shortcut.