richie5um / vscode-sort-json

VSCode Extension to Sort JSON objects
https://marketplace.visualstudio.com/items?itemName=richie5um2.vscode-sort-json
MIT License
107 stars 20 forks source link

true becomes opbject #80

Open consileon-de opened 1 year ago

consileon-de commented 1 year ago

When adding a new json parameter like "enabled": true with STRG+Space, the value, in this case "true" is highlight --> works as expected. Now I use json-sort plugin and true becomes an object {}.

richie5um commented 1 year ago

Can you post some JSON that has the problem pls?

consileon-de commented 1 year ago

{ "application": "PROVIDER_SERVICE", "id": "PROVIDER_SERVICE:-lu", "items": { "scriptUrl": "https://www.", "settings": { "alignCurrencySymbolLeft": false, "crsUrl": "https://api", "cultures": null, "domains": { "price": "VAS" }, "financeSummaryType": "full", "type": "fs", "useStagingEnvironment": true, "vatIncluded": { "price": false } }, "stylesUrl": "/vw6/v/12.2.0/css", "timeout": 5000 }, "tenant": "-lu", "type": "business" }

richie5um commented 1 year ago

Sorry, I must be misunderstanding, but that works fine for me and no value changes occur, for me.