The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.090

  • Redesign/recode.
  • Rename from_json to decode_json and parse to decode. Keep old names as aliases.
  • Throw exceptions in case of error (when using new api).
  • Improved error messages, with error location info.
  • All user documentation in JSON::Relaxed, error documentation in JSON::Relaxed::ErrorCodes.
  • Add JSON::Relaxed::new as short for JSON::Relaxed;:Parser::new.
  • Make commas between array elements optional.
  • Disallow leading commas in a list (spec).
  • Allow backticks for string quotes (spec).
  • Improve detection of string join (ext).
  • Add test suite for regression tests.
  • Handle Unicode surrogates.
  • Handle extended escape sequences (ext).

Modules

An extension of JSON that allows for better human-readability

Provides

in lib/JSON/Relaxed/Parser.pm