0.0.3 • Published 2 years ago
resolve-schema-at-pointer
Licence
—
Version
0.0.3
Deps
1
Size
13 kB
Vulns
0
Weekly
0
Resolve Schema at Pointer
With the great help of json-ptr I made a small function that, based on the schema and/or data, retrieves the schema and/or data at a given data location using (relative) JSON pointer (RFC 6901).
It works in both nodejs and modern browsers.
For examples, see test