desktop
desktop copied to clipboard
Loading large JSON files in the built-in viewer, then using the "Save" button results in the downloaded file missing some JSON entries.
Captchas
- [x] I have read the instructions.
- [x] I have searched existing issues and avoided creating duplicates.
- [x] I am not filing an enhancement request.
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
- [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.
What happened?
Opening a web URL that loads a JSON file into the in-built viewer (rather than directly downloads the file) and then attempting to save that file, will incorrectly strip some of the data from the file.
This might be due to the complexities of the specific file itself, which contains a lot of escaped characters, but there is no issue in Firefox or Edge, and if the JSON is downloaded from those browsers, loaded into Zen from disk and then saved, then there are no issues there either.
Steps to Reproduce
- Open a large JSON file from an API link (this one can be used to reproduce the issue: http://api.steampowered.com/ISteamApps/GetAppList/v0002/?format=json )
- Any of the following causes the issue:
- From the
JSONtab at the top, clickingSave - From the
Raw Datatab at the top, clickingSave - Right-clicking on the page and clicking
Save Page As
- From the
- The output JSON is smaller than it should be, and is missing several hundred data entries. Examples that can be searched in the above JSON that are missing:
440(Team Fortress 2)920210(Lego Starwars: The Skywalker Saga)
Workaround
- Clicking
Copyand then pasting the JSON into a text editor will correctly obtain all JSON data- This can be used to compare the missing data from the
Savefunction above
- This can be used to compare the missing data from the
- Loading a JSON file from disk and then saving that will not reproduce the error
Tested other browsers
- Mozilla Firefox 138.0.4 - no issues
- Microsoft Edge 136.0.3240.76 - no issues
Version
1.12.7b
What platform are you seeing the problem on?
Windows - x64
What component is this issue related to?
Other
Relevant log output if applicable