Module: x2node-pointers

JSON Pointer imlpementation module.

Requires

Classes

RecordElementPointer

Methods


<static> parse(recordTypeDesc, propPointer [, noDash])

Parse the specified JSON pointer.
Parameters:
Name Type Argument Description
recordTypeDesc module:x2node-records~RecordTypeDescriptor Record type descriptor.
propPointer string Property pointer string in RFC 6901 format.
noDash boolean <optional>
true if a dash at the end of the pointer to an array element is not allowed.
Throws:
If the pointer is invalid.
Type
module:x2node-common.X2SyntaxError
Returns:
Parsed record element pointer.
Type
module:x2node-pointers~RecordElementPointer