URLON

URL Object Notation. JSON-like encoding for URLs

URL Object Notation

An Object Notation like JSON but for URLs. Read the full explanation on my blog.

You first need to enable URLON.

URLON is on [NPM] (http://search.npmjs.org/#/URLON).

npm install URLON
var URLON = require('URLON');
<script src="https://raw.github.com/vjeux/URLON/master/src/urlon.js"></script>
URLON.stringify('{"table":{"achievement":{"column":"instance","ascending":true}}}')
 
// Output:      '_table_achievement_column=instance&ascending:true' 
URLON.parse('_table_achievement_column=instance&ascending:true')
 
// Output:  {"table":{"achievement":{"column":"instance","ascending":true}}}