jsoncrack.com icon indicating copy to clipboard operation
jsoncrack.com copied to clipboard

[BUG]: Default example when landing on the /editor is inconsistent

Open RDalcolmo opened this issue 2 years ago • 2 comments

Issue description

The default example which shows how a JSON file is visualized shows an inconsistency. When you look at the root object you can see the strings are represented as "myStringValue"

image

But when you go to the very end of the json tree, you can see an array of strings does not have the quotes on them and are colored green

image

My suggestion is to make them consistent and turn the green string representation into the regular white with quotes

Media & Screenshots

No response

Operating system

  • OS: [e.g. iOS]: Windows 10
  • Browser [e.g. chrome, safari]: Chrome

Priority this issue should have

Low (slightly annoying)

RDalcolmo avatar Jan 05 '23 19:01 RDalcolmo

Hello, that's the intended behaviour. I'd love to hear what other thinks here and appropriate actions could be considered upon feedbacks.

AykutSarac avatar Jan 12 '23 07:01 AykutSarac

I would love to see colors being consistent with the type: strings = white, booleans = green, numbers = yellow

RDalcolmo avatar Feb 09 '23 19:02 RDalcolmo