$ and use . as the path separator.
If the path includes ., it could be circled by " and ".
[ ] is used as the array subscripts which start from 0.
Content in the path should not contain " , [ and ].
If the format of json_string or json_path is wrong, this function will return NULL.
Syntax
Examples
-
Get the value whose key is “k1”
Text
-
Get the second element in the array whose key is “my.key”
Text
-
Get the first element in the array whose path is k1.key -> k2.
Text