Try to come up with ways of removing the extended syntax and always create
compliant Json.
Examples:
1) Instead of casts: (MyType) { a: 1, b: 2 }
use type identifier: { __type: "MyType", a: 1, b: 2 }
for lists: { __type: "MyList", items: [ 1, 2, 3 ] }
2) For references use nested syntax:
{ "$ref": "a/b/c" }
Any conventions should be configurable if possible.
Attempt to use any industry or widely adopted standards. Review syntax for
Jquery, MongoDB, Microsoft, etc.
Original issue reported on code.google.com by elliott....@gmail.com on 24 Jan 2013 at 8:30
Original issue reported on code.google.com by
elliott....@gmail.com
on 24 Jan 2013 at 8:30