User Tools

Site Tools


json

Tools

Online

  • JsLint - a well known/used code quality tool for validating JSON.
  • JSON Editor - (I haven't used this one yet, but it purports to provide a GUI-ish interface for editing JSON.)

Visual Studio

Other

  • JSLint plugin for Notepad++ - should also be available via the Plugin Manager, which is typically installed by default.
  • jq is a lightweight and flexible command-line JSON processor. It can be used to query and transform JSON.
  • JSON Web Token (JWT) - a compact URL-safe means of representing claims to be transferred between two parties.

JSON Schema

Tools

  • JsonSchema validation - Draft 4 is assumed. Provides:
    • Validation of data against your own schema
    • Schema syntax validation
    • Java ⇔ Json Schema
    • etc.
  • JSON Validate - can provide schema, content and/or references for input.
  • 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"
        }
    }
}
json.txt · Last modified: 2017/02/04 02:37 by shawn

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki