{"id":"json-flatten","version":"1.0.0","description":"Flatten a JSON value into a null-prototype map keyed by RFC 6901 JSON Pointers.","supported_operations":["json flatten","flatten json to json pointers","expand nested json into pointer keys"],"unsupported_operations":["json pointer get","json pointer set","unflatten json pointers","read files","detect cycles"],"semantics":["value is any JSON object, array, string, boolean, null, or safe integer.","Non-finite numbers, non-integers, and integers outside Number.MAX_SAFE_INTEGER are rejected.","Output keys are RFC 6901 JSON Pointers; ~ is escaped as ~0 and / as ~1.","A root scalar or empty object or array maps to the empty pointer.","Nested empty objects and arrays are emitted as leaves at that pointer.","Result keys are inserted in lexicographic UTF-16 order of the pointers.","The pointers object is a null-prototype map of at most 5000 leaves; nesting depth is at most 16 from the root."],"limits":{"max_depth":16,"max_pointers":5000,"max_output_bytes":1048576},"pricing":{"status":"unpriced","charge_usd":null},"input_schema":{"type":"object","additionalProperties":false,"required":["value"],"properties":{"value":{"description":"JSON object, array, string, boolean, null, or safe integer"}}},"output_schema":{"type":"object","additionalProperties":false,"required":["pointers"],"properties":{"pointers":{"type":"object"}}},"examples":[{"input":{"value":{"a/b":1,"empty":{},"list":[],"tags":["a","b"],"tilde~key":false,"user":{"name":"רוני","note":"line one\nline,two"}}},"output":{"pointers":{"/a~1b":1,"/empty":{},"/list":[],"/tags/0":"a","/tags/1":"b","/tilde~0key":false,"/user/name":"רוני","/user/note":"line one\nline,two"}}}],"execute_url":"/v1/tools/json-flatten/versions/1.0.0/execute"}