JSON (JavaScript Object Notation) | JavaScript: Behavioral Layer
Standards Based Development
json is a lightweight data-interchange format; a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages.
json Formatter and Validator Bookmarklet
Format & Validate JSON
json Schema and Hyper-Schema
- json Schema
describes your json data format
- json Hyper-Schema
turns your json data into hyper-text
Advantages
json Schema
- describes your existing data format
- clear, human- and machine-readable documentation
- complete structural validation, useful for automated testing
- validating client-submitted data
json Hyper-Schema
- describes your existing api - no new structures required
- links (including uri Templates for target uris)
- forms - specify a json Schema for the desired data
json Tools
Schematic Ipsum
Use Schematic Ipsum to generate fake json data in accordance with a json Schema. By making requests to a simple api, you can generate rich structured data with appropriately typed content, as opposed to your average plain text lorem ipsum.
Designers, quickly bring your mockups to life with realistic copy.
Developers, populate your test database with structured data.
Schema enthusiasts, iteratively tune your schemas by generating example data.
See more at: http://schematic-ipsum.herokuapp.com/#sthash.0rAb8jpG.dpuf.
json Flavors
ajaj (Asynchronous JavaScript and JSON)
ajaj stands for Asynchronous JavaScript and json. ajaj is used primariliy with server communication. Unlike its predecessor ajax, which uses xml, in ajaj, the content sent back and forth between the client and servr is strictly json. The term ajaj has been used since 2006, however it is rarely used (as of 2013), while ajax is used without regard to the format of the data returned by the asynchronous request.
bson (Binary json)
gson (Google Gson)
json-rpc
jsonml (json Markup Language)
jsonp (json with Padding)
jsoniq (json Query Language)
jsoniq - The SQL of NoSQL by Ghislain Fourny
jsoniq is a query and processing language specifically designed for the popular JSON data model. The main ideas behind JSONiq are based on lessons learned in more than 30 years of relational query systems and more than 15 years of experience with designing and implementing query languages for semi-structured data. As a result, JSONiq is an expressive and highly optimizable language to query and update any kind of JSONiq store or resource. It enables developers to leverage the same productive high-level language across a variety of NoSQL products. This book gives a complete introduction to the JSONiq language. It does so by giving examples for all types of expressions and functions. Those examples can be immediately used because they work standalone, which allows the interested reader to start diving into the language.
The electronic version of this book is available for free - http://www.28.io/jsoniq-the-sql-of-nosql.
- json Schema
describes your json data format
- json Hyper-Schema
describes your json into hyper-text