===== Tools ===== ==== Online ==== * [[http://jslint.com/|JsLint]] - a well known/used //code quality tool// for validating JSON. * [[http://braincast.nl/samples/jsoneditor/|JSON Editor]] - (I haven't used this one yet, but it purports to provide a GUI-ish interface for editing JSON.) ==== Visual Studio ==== (See [[.NET Development]] -> [[.NET Development#Visual Studio]] -> [[.NET Development#JSON & JSON Schema]]) ==== Other ==== * [[http://sourceforge.net/projects/jslintnpp/|JSLint plugin for Notepad++]] - should also be available via the [[http://npppluginmgr.sourceforge.net/|Plugin Manager]], which is typically installed by default. * ''[[https://stedolan.github.io/jq/|jq]]'' //is a lightweight and flexible command-line JSON processor.// It can be used to query and transform JSON. * [[http://jwt.io/|JSON Web Token (JWT)]] - //a compact URL-safe means of representing claims to be transferred between two parties.// ===== JSON Schema ===== * http://json-schema.org/ is the official home of JSON Schema. * //[[https://spacetelescope.github.io/understanding-json-schema/index.html|Understanding JSON Schema]]// is a very useful online book for getting started. * The Jasonary project also has some [[http://jsonary.com/documentation/json-schema/|useful documentation]]. ==== Tools ==== * [[http://json-schema-validator.herokuapp.com/|JsonSchema validation]] - Draft 4 is assumed. Provides: * Validation of data against your own schema * Schema syntax validation * Java <=> Json Schema * etc. * [[http://jsonvalidate.com/|JSON Validate]] - can provide schema, content and/or references for input. * [[http://jsonschema.net/|JSON Schema.net]] - validates JSON or JSON Schema, with form-based editing for blocks of JSON. Will also generate a Schema from JSON data. ==== Datetime values ==== JSON Schema does not support a ''datetime'' type directly. Instead, specify a ''string'' type with the ''format'' attribute: { "type": "object", "properties": { "StartDate": { "type": "string", "format": "date-time" } } }