JSON Stringify

Convert a JSON document into a single escaped string, the form you need when embedding JSON inside another JSON value, an environment variable or a source file. The reverse mode takes an escaped string and gives the JSON back.

Open JSON Stringify

Where to find it

Every address below opens the same tool. The first address is the one to bookmark and share.

People also call this

What it's for: Turn JSON into an escaped string literal, and back. Convert a JSON document into a single escaped string, the form you need when embedding JSON inside another JSON value, an environment variable or a source file.

Use it from code

curl -X POST https://openvibe.tools/api/v1/tools/jsonstringify/run \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"{\"a\":\"b\"}"}}'

Inputs: JSON Schema · OpenAPI · from JavaScript: tools.run("jsonstringify", …) in openvibe-sdk · How the API works

Similar tools

All Developer Tools