Closed 181404010226 closed 2 months ago
I think the string ".\开元通宝及广场" itself does not comply with the JSON specification. When exported, it should be ".\\开元通宝及广场" to comply with the specification.
The error message states the reason: after a backslash, only a few characters are allowed:
Description
I encountered an error while trying to load the JSON shown below. The error occurred at the position highlighted in blue. The json file: tileset.json This is a 3D Tiles project where I convert strings to UTF-8 to ensure JSON exports correctly. Without this conversion, I encounter an error labeled "invalid UTF-8 byte at index." The image below shows the problematic string in debug mode.
Reproduction steps
when load the json file it happened.
Expected vs. actual results
I expected it successed loaded.
Minimal code example
Error messages
Compiler and operating system
Microsoft Visual C++ 2022,windows10
Library version
3.10.4
Validation
develop
branch is used.