Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create compliant JSON always #67

Open
GoogleCodeExporter opened this issue May 19, 2015 · 0 comments
Open

Create compliant JSON always #67

GoogleCodeExporter opened this issue May 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 24 Jan 2013 at 8:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant