Fix JFile to normalize whitespace when loading JSON from disk

JString::operator=(ZString) already stripped whitespace between JSON
structural tokens before parsing, but JFile constructed via MFile file-
loading bypassed that path entirely, so any pretty-printed/hand-edited
JSON file silently failed every locate()/exists()/get*() call. Widen
removeWhitespace() to protected and call it from JFile constructor.
This commit is contained in:
Brad Arant committed 2026-08-25 19:14:14 -07:00
1 parent 6b188fbee5
commit d7057ebb00
5 files changed
+29 -2

No files matched your search

Binary file not shown.
Binary file not shown.
Binary file not shown.