Relaxed JSON

Are you frustrated that you cannot add comments into your configuration JSON Relaxed JSON is a simple solution. expand ↓

Relaxed JSON is a small JavaScript library with only two exposed function RJSON.transform(text : string) : string and RJSON.parse(text : string, reviver : function | opts : object).

Relaxed JSON (modified BSD license) is a strict superset of JSON, relaxing strictness of valilla JSON. Valid, vanilla JSON will not be changed by RJSON.transform. But there are few additional features helping writing JSON by hand.

Check out the source and additional documentation on GitHub.

↑ collapse


This is a JSON linter!

Relaxed JSON, by Oleg Grenrus

Fork me on GitHub