{"uid":"cap_TF31MUqwYExsfC0ayAPwL","slug":"grokzilla-json-sort-recursive-key-canonicalizer-4ce0ece3","name":"Grokzilla JSON Sort — Recursive Key Canonicalizer","description":"Recursively sort object keys and return canonical compact JSON. Deterministic, no network.","url":"https://grokzilla.shop/api/skills/json-sort?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{},"reverse":{"type":"boolean","default":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FP8Q6_j2ifz7QCQ4QpMkU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Recursively sorts all object keys in a JSON payload and returns a deterministic, canonical compact JSON string with no network calls.","exampleAgentPrompt":"Sort all the keys in this JSON object alphabetically, recursively through every nested level, and give me the compact canonical result: {\"z\":1,\"a\":{\"m\":2,\"b\":3}}.","exampleUseCases":[{"title":"Stable cache key from API response","prompt":"I need to generate a consistent cache key from this API response object — can you sort all the keys recursively and give me the canonical compact JSON so the key is the same regardless of field order? Here's the object: {\"user\":{\"id\":42,\"name\":\"Alice\"},\"role\":\"admin\"}."},{"title":"Deterministic JSON for cryptographic signing","prompt":"Before I hash this config blob for signing, I need it in canonical form with all keys sorted alphabetically at every nesting level — can you canonicalize this JSON for me? {\"timeout\":30,\"auth\":{\"secret\":\"abc\",\"key\":\"xyz\"},\"retries\":3}."},{"title":"Comparing two JSON objects for equality","prompt":"I have two JSON objects that might be identical but their keys are in different orders — can you sort the keys recursively in both so I can do a straight string comparison to check if they're equal?"}],"resultDescription":"A compact JSON string with all object keys recursively sorted (alphabetically ascending, or descending if reverse=true). Nested objects at any depth have their keys sorted as well. The output is deterministic given the same input, with no whitespace padding.","failureModes":["Input is not valid JSON or a parseable object — returns an error indicating malformed input","Input data field is missing or null — may return an error or an empty result","Circular references in the input object may cause processing failure","Extremely deeply nested objects may hit recursion limits"],"whenToPreferThis":"Choose this endpoint when you need a pure, deterministic, offline JSON key-sorting operation with no side effects — ideal for generating stable cache keys, preparing payloads for cryptographic hashing or signing, deduplication, or any scenario where consistent field ordering matters. Prefer it over general-purpose transformation services when you want a cheap ($0.003), fast, no-network call that guarantees the same output for the same input every time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:45:02.351Z","isFirstParty":false,"canonicalSlug":"grokzilla-json-sort-recursive-key-canonicalizer-4ce0ece3"}