jsonvalidate 1.4.1
- Add support for subfolders in nested schema references. (#61)
jsonvalidate 1.4.0
- Support for safely serialising objects to json, guided by the schema, with new function
json_serialise - New object
json_schemafor construction of reusable validation and serialisation functions
jsonvalidate 1.3.2
CRAN release: 2021-11-03
- Always uses ES5 version of Ajv, which allows use in both current and “legacy” V8 (#51)
jsonvalidate 1.3.0
- Upgrade to ajv version 8.5.0
- Add arg
stricttojson_validateandjson_validatorto allow evaluating schema in strict mode for ajv only. This is off (FALSE) by default to use permissive behaviour detailed in JSON schema
jsonvalidate 1.2.3
- Schemas can use references to other files with JSON pointers i.e. schemas can reference parts of other files e.g.
definitions.json#/definitions/hello - JSON can be validated against a subschema (#18, #19, @AliciaSchep)
- Validation with
error = TRUEnow returnsTRUE(notNULL)on success - Schemas can span multiple files, being included via
"$ref": "filename.json"- supported with the ajv engine only (#20, #21, @r-ash). - Validation can be performed against a fraction of the input data (#25)
