NPP-JSONViewer / JSON-Viewer

A JSON viewer plugin for Notepad++. Displays the selected JSON string in a tree view.
MIT License
749 stars 151 forks source link

Pretty print can corrupt the data (lost precision on numbers) #196

Open Nezrahm opened 1 month ago

Nezrahm commented 1 month ago

Let's take this simplified json as an example {"MyDecimal":5.107091491635510056019771245}

If I format/pretty print this data then will the result be

image

This has effectively corrupted the data.

SinghRajenM commented 1 month ago

Duplicate of #39