Parse string
Parses a string to an object
Input
Expects a json body
{
"string": "{\"module\":\"address\",\"function\":\"city\"}"
}Output · HTTP 200
Response
{
"result": {
"module": "address",
"function": "city"
}
}Show curl command
curl -X POST 'https://api.1001fx.com/data/parsestring2json' \
-H 'X-API-KEY: YOURSECRETAPIKEY' \
-H 'Content-Type: application/json' \
-d '{"string":"{\"module\":\"address\",\"function\":\"city\"}"}'