gildas-lormeau / JSONVue

Fork of JSONView for Chromium-based browsers

Home Page:https://chrome.google.com/webstore/detail/chklaanhfefbnpoihckbnefhakgolnmc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Don't reorder key-value pairs

ploober opened this issue · comments

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.

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

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