RubyFlow The Ruby and Rails community linklog

JSON: 1.1 # JSON with Extensions (JSONX) - New JSON (Next) Format w/ json-next gem

Hello, I’ve updated the JSON readers gem now called json-next, formerly jasony. The next next generation JSON parser / reader included is a world-wide ruby’s 1st - JSONX.parse for the new JSON: 1.1 # JSON with Extensions (JSONX) format. Using JSONX you can use all the JSON extension of HanSON (JSON for Humans) and SON (Simple Object Notation) and some more e.g. use Ruby (Shell)-like #-comments, unquoted keys, optional commas, and much more. Note: JSONX.parse is the same as JSON.parse( JSONX.convert(text)), that is, JSONX works like a preprocessor for JSON. Cheers. PS: What’s your favorite JSON format? e.g. “Vanilla” JSON 1.0 or JSON5 or HJSON or HanSON or SON or CSON or USON or JSONX/JSON11/JSON XI/JSONII.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in