Method |
Description |
|
exampleData ( $asArray = true ) |
|
|
exampleDataExtra ( $asArray = true ) |
|
|
exampleDataLocations ( $asArray = true ) |
|
|
exampleDataWithSimpleIntegers ( $asArray = true ) |
|
|
exampleDataWithSlashes ( $asArray = true ) |
|
|
testChildOperators ( ) |
$.store.books[0].title |
|
testChildOperatorsAlt ( ) |
$['store']['books'][0]['title'] |
|
testChildQuery ( ) |
$.store.books[(@.length-1)].title |
|
testFilterSliceA ( ) |
$.array[start:end:step] |
|
testFilterSliceB ( ) |
|
|
testFilterSliceC ( ) |
|
|
testFilterSliceD ( ) |
|
|
testFilterSliceE ( ) |
Everything except the last 2 items |
|
testFilterSliceF ( ) |
The Last item |
|
testFilteringOnNoneArrays ( ) |
|
|
testFirst ( ) |
|
|
testFirstKey ( ) |
|
|
testLast ( ) |
|
|
testLastKey ( ) |
|
|
testMagicMethods ( ) |
|
|
testMatchWithComplexSquareBrackets ( ) |
|
|
testOffsetUnset ( ) |
|
|
testQueryMatchEquals ( ) |
$. |
|
testQueryMatchEqualsWithUnquotedInteger ( ) |
$. |
|
testQueryMatchLessThan ( ) |
$.store.books[?(@.price < 10)].title
Filter books that have a price less than 10 |
|
testQueryMatchNotEqualsTo ( ) |
$. |
|
testQueryMatchWithRecursive ( ) |
|
|
testRecursiveChildSearch ( ) |
$. |
|
testRecursiveChildSearchAlt ( ) |
$.store. |
|
testRecursiveChildSearchWithChildIndex ( ) |
$. |
|
testRecursiveChildSearchWithChildQuery ( ) |
$. |
|
testRecursiveChildSearchWithSliceFilter ( ) |
$. |
|
testRecursiveWithQueryMatch ( ) |
$. |
|
testRecursiveWithWildcard ( ) |
$. |
|
testSimpleArrayAccess ( ) |
Tests direct key access. |
|
testSlashesInIndex ( ) |
|
|
testWildCard ( ) |
$.store.*
all things in store
the structure of the example data makes this test look weird |
|
testWildcardAltNotation ( ) |
$.store.books[*].author |
|