JSON parsing should detect embedded `\0` values by eamonnmcmanus · Pull Request #759 · stleary/JSON-java

added 2 commits

August 1, 2023 13:11
A better solution might be to use -1 instead 0 to represent EOF everywhere,
which of course means changing `char` variables to `int`. The solution here is
enough to solve the immediate problem, though.

Fixes stleary#758.

johnjaylward

@eamonnmcmanus

johnjaylward

@stleary stleary changed the title Don't skip past \0 when parsing JSON objects. JSON parsing should detect embedded \0 values

Aug 2, 2023

johnjaylward pushed a commit to johnjaylward/JSON-java that referenced this pull request

Oct 17, 2023
JSON parsing should detect embedded `\0` values

claireagordon added a commit to yext/JSON-java that referenced this pull request

Mar 26, 2024

AloneMou added a commit to AloneMou/alone-cloud that referenced this pull request

Mar 21, 2025
- 添加 org.json 版本 20231013 到 alone-dependencies/pom.xml
- 在 UpYun SDK 依赖中排除旧的 JSON 版本
- 在 alone-spring-boot-starter-file/pom.xml 中添加新的 JSON依赖
- stleary/JSON-java#759