josdejong / jsoneditor

A web-based tool to view, edit, format, and validate JSON
http://jsoneditoronline.org
Apache License 2.0
11.44k stars 2.03k forks source link

Restrict auto-conversion of hexadecimal inputs #1601

Closed gauravgupta98 closed 4 weeks ago

gauravgupta98 commented 4 weeks ago

Hello,

we are currently integrating JSON editor in appsmith and facing an issue where if we add any hex string in the json it gets autoconverted to integer. Is there a way we can prevent this behaviour and keep the hexadecimal as string.

Replication steps - https://app.appsmith.com/app/json-editor-viewer/page1-659b8a776e6f515089938690?utm_source=portal In the above link, edit any value and update it to 0x12 and tab out

josdejong commented 4 weeks ago

Thanks for reporting. I've fixed this bug via 3870ec1 (not yet published)

gauravgupta98 commented 4 weeks ago

when is this expected to be published in prod?

josdejong commented 4 weeks ago

I expect tomorrow.

josdejong commented 4 weeks ago

Fixed now in v10.1.0