fun_extra library
A collection of semi-useful non-standard functions for JSONPath.
Classes
- Index
- Returns the index under which the node referenced by the argument is found in the parent array. If the parent is not an array, returns Nothing. If the argument does not reference a single node, returns Nothing.
- IsArray
- Returns true if the value is a JSON array.
- IsBoolean
- Returns true if the value is a JSON boolean.
- IsNumber
- Returns true if the value is a JSON number.
- IsObject
- Returns true if the value is a JSON object.
- IsString
- Returns true if the value is a JSON string.
- Key
- Returns the key under which the node referenced by the argument is found in the parent object. If the parent is not an object, returns Nothing. If the argument does not reference a single node, returns Nothing.
- Reverse
- Reverses the string.
- Siblings
- Returns all siblings of the given nodes.
- Xor