Package Exports
- json-document
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (json-document) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
JSON Document
Model and manipulate data with ES6 classes, JSON Schema initialization and validation, JSON Patch, JSON Pointer, and JSON Mappings.
- works in Nodejs and the browser
- compiled schema initialization and validation methods
- high-level JSONDocument class for ease of use
- compatible with webpack
Specifications
- JSON Schema
- JSON Patch RFC 6902
- JSON Pointer RFC 6901
- JSON Mapping
Status
Alpha code undergoing rigorous testing and refactoring prior to first production release.
Install
$ npm install https://github.com/anvilresearch/json-document.gitUsage
Module loading
const {
JSONSchema,
JSONMapping,
JSONPatch,
JSONPointer,
JSONDocument,
Formats
} = require('json-document')JSONSchema
JSONMapping
JSONPatch
JSONPointer
JSONDocument
Formats
Running tests
Nodejs
$ npm testBrowser (karma)
$ npm run karmaMIT License
Copyright (c) 2016 Anvil Research, Inc.