Skip to content

greggirwin/red-json

Repository files navigation

Old things are included here for reference. The wallet code has a minimal JSON parser, which is the most modern version. The most value here may come from the test files.

Red should get a basic GC before too long, so I don't think it's worth the effort to avoid allocations on those grounds.

Once the core works, the big difference from Rebol is that we have load/as and save/as that work with system/codecs (see %red/environment/codecs/) rather than just creating to-json/load-json global funcs.

Testing

  • %_json-console.red Interactive testing for small JSON strings
  • %_parse-test-file.red Select one JSON file to test
  • %_run-test-suite.red Run Red tests against all test files
  • %_run-test-suite.r Run R2 tests against all test files

Other versions

About

JSON codec for the Red language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published