inspectJson
inspectJson(
value,options):Promise<object[]>
Defined in: metadata/actions/json/inspect.ts:9
Validate a value against a JSON Schema It uses Ajv for JSON Schema validation under the hood
Parameters
Section titled “Parameters”unknown
options
Section titled “options”jsonSchema
Section titled “jsonSchema”string | Record<string, unknown>
rootJsonPointer?
Section titled “rootJsonPointer?”string
Returns
Section titled “Returns”Promise<object[]>