JSV

JSV

JSON Validation Syntax

Constructor

new JSV(value)

Source:
Parameters:
Name Type Description
value object

Methods

match(expected) → {JSV}

Match the value with expected conditions in JSON expression

Source:
Parameters:
Name Type Description
expected object

JSON match expression

Throws:

ValidationError

Returns:
Type:
JSV