Méthode |
Description |
|
__construct ( string | array | stdClass $data ) |
|
|
add ( string $parentexpr, mixed $value, string $name = "" ) : boolean |
Adds one or more elements matching the given json path expression |
|
get ( string $expr, boolean $unique = false ) : array |
Gets elements matching the given JsonPath expression |
|
remove ( string $expr ) : boolean |
Removes all elements matching the given jsonpath expression |
|
set ( string $expr, mixed $value ) : boolean |
Sets the value for all elements matching the given JsonPath expression |
|
setData ( string | array | stdClass $data ) |
Sets JsonStore's manipulated data |
|
toArray ( ) : array |
Returns the given json string to array |
|
toObject ( ) : stdClass |
Returns the given json string to object |
|
toString ( ) : string |
JsonEncoded version of the object |
|