gildas-lormeau / JSONVue

Fork of JSONView for Chromium-based browsers
https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc
Other
1.59k stars 615 forks source link

Don't reorder key-value pairs #88

Closed ploober closed 2 years ago

ploober commented 5 years ago

I noticed that when I am displaying JSON using this plugin, my key-value (string to number) pairs were coming in out of order. It caused confusion because the particular map was sorted by the value so it was appearing out of order.

CrazyTim commented 5 years ago

Hi @ploober, looks like there are several issues discussing this: #80, #72, #60.

gildas-lormeau commented 2 years ago

The extension relies on JSON.parse to extract the JS data, that's why keys are reordered.