What happens when your code breaks in production? If you have Honeybadger you'll be alerted with crucial details like the error location, the data being processed and the affected users. So you can deploy a fix quickly and get back to coding. Learn more.

RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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