apoc.convert.getJsonProperty
Function APOC Core
apoc.convert.getJsonProperty(node,key[,'json-path']) - converts serialized JSON in property back to original object
Usage Examples
The examples in this section are based on the following sample graph:
CREATE (:Person {json:'{a:[1,2,3]}'});
MATCH (p:Person)
RETURN apoc.convert.getJsonProperty(p, "json") AS output;
Output |
---|
{a: [1, 2, 3]} |
MATCH (p:Person)
RETURN apoc.convert.getJsonProperty(p, "json", "$.a") AS output;
Output |
---|
[1, 2, 3] |
Was this page helpful?