Indented, selected keys
Indents with 3 spaces and keeps only the key "module" (replacer).
Input
{
"json": {
"module": "address",
"function": "city"
},
"replacer": [
"module"
],
"space": 3
}Output · HTTP 200
{
"result": "{\n \"module\": \"address\"\n}"
}Show curl command
curl -X POST 'https://api.1001fx.com/data/stringifyjson' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"json":{"module":"address","function":"city"},"replacer":["module"],"space":3}'