Commit Graph

3 Commits

Author SHA1 Message Date
medievalshell 2a00365862 feat(utils): honour __NITRO_JSON_MODE__ flag in JsonParser
Adds three explicit parsing strategies selectable at host build time via
the compile-time constant __NITRO_JSON_MODE__:

- legacy: strict JSON.parse only; clear error suggesting JSON5 mode
- json5 : JSON5.parse only
- auto  : try JSON, fall back to JSON5 (existing behaviour and default
          when the flag is undefined, so older hosts keep working)

URL/MIME hints for .json5 sources are still respected. README updated
with the modes table and a Vite wiring example.
2026-05-18 20:37:46 +02:00
duckietm b3134ce50b Move to Renderer V2 2024-04-03 09:27:56 +02:00
duckietm 110c3ad393 init: Fork from Original V2 Renderer 2024-04-03 09:16:49 +02:00