JSON在线转字符串工具是一个简单的将json格式化的对象转为字符串,旨在用于开发者测试JSON格式的数据。
例如输入:
{
"Array": [
1,
2,
3
],
"Boolean": true,
"Null": null,
"Number": 123,
"Object": {
"a": "b",
"c": "d"
},
"String": "Hello World"
}
点击压缩按钮
{"Array":[1,2,3],"Boolean":true,"Null":null,"Number":123,"Object":{"a":"b","c":"d"},"String":"Hello World"}y
点击压缩并转义按钮
{\"Array\":[1,2,3],\"Boolean\":true,\"Null\":null,\"Number\":123,\"Object\":{\"a\":\"b\",\"c\":\"d\"},\"String\":\"Hello World\"}