@galaxar/jsonv
v1.0.6
Published
JSON Validation Syntax
Downloads
5
Maintainers
Readme
@galaxar/jsonv
JSON Validation Syntax
Installation
pnpm install @galaxar/jsonv
Usage that requires special attention
Jvs.match(value, null)
always return trueIt does not mean to match null, which should use
{ $exist: false }
instead.Jvs.match(value, [ ... ])
means to match all jvs object in the arrayIt does not mean the value to be equal to the array, which should use
{ $eq: [ ... ] }
instead.