Array of object does not working in JSON Formatter. #198

Closed
opened 2023-05-18 11:31:08 +02:00 by widlam · 1 comment
Collaborator

image

Tested input:
[
{"message":"Hello"},
{"message":"This is test post request"},
{"message":"It's only for testing how the request body would looks on popup"},
{"message":"Did you know, that [buahahaha there is nothing there]"},
{"message":"Ok. That's all, have fun :3"}
]

Formater works if I wrapped array inside of JSON Object, so maybe that's the way to solve that problem.

{"array":[
{"message":"Hello"},
{"message":"This is test post request"},
{"message":"It's only for testing how the request body would looks on popup"},
{"message":"Did you know, that [buahahaha there is nothing there]"},
{"message":"Ok. That's all, have fun :3"}
]}

![image](/attachments/99af71ca-bfd8-4e66-9475-fa5e9f9db30a) Tested input: \[ {"message":"Hello"}, {"message":"This is test post request"}, {"message":"It's only for testing how the request body would looks on popup"}, {"message":"Did you know, that \[buahahaha there is nothing there\]"}, {"message":"Ok. That's all, have fun :3"} \] Formater works if I wrapped array inside of JSON Object, so maybe that's the way to solve that problem. {"array":\[ {"message":"Hello"}, {"message":"This is test post request"}, {"message":"It's only for testing how the request body would looks on popup"}, {"message":"Did you know, that \[buahahaha there is nothing there\]"}, {"message":"Ok. That's all, have fun :3"} \]}
widlam added the
bug
JSON Formatter
labels 2023-05-18 11:31:08 +02:00
bema added this to the Release 11.3 milestone 2023-05-23 09:54:03 +02:00
bema self-assigned this 2023-05-23 10:02:23 +02:00
Collaborator

Fixed.

obraz

Fixed. ![obraz](/attachments/bece0036-c9df-46a1-b76e-bcb38bc9a259)
bema closed this issue 2023-05-25 10:19:18 +02:00
Sign in to join this conversation.
No description provided.