-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'\x00' is the null character, which is illegal in JsonTools. #85
Comments
@alexander-dream However, I've decided that this was not a good decision, and I plan to fix this issue this weekend. Because JsonTools formats NUL characters as |
@alexander-dream As noted in the commit message for that commit, JsonTools has a number of issues surrounding NUL characters that I am completely incapable of resolving, because they are rooted in the fundamental ways that it interfaces with Notepad++. That said, almost all of the JsonTools plugin commands from that commit onward should correctly handle your JSON containing |
Thanks man. That was fast. I'll check it out in 2 days when I get back to work. I think your extension is better than JsonViewer thanks to so many features. Well done. |
Looks like the fix works for my use case. Thanks! |
Glad I could help! As usual, I'll close this issue shortly after the first release with the fix incorporated is available via the Plugins Admin. |
JsonTools v8.3.1 is the first official release with this fix implemented. Once a version of Notepad++ (hopefully 8.7.5 or 8.7.6) with a plugin list that includes JsonTools v8.3.1 is live for about a week with no reports of a recurrence, I'll close this issue. NOTE: This comment previously recommended upgrading to v8.3, but v8.3.1 fixes an easily replicated crash bug. |
The following JSON cannot be pretty-printed:
{"my_key_name":"Test\u0000"}
It can be formatted in JSONViewer: https://github.com/NPP-JSONViewer/JSON-Viewer
I verified it in the following website: https://jsonformatter.curiousconcept.com/#
The text was updated successfully, but these errors were encountered: