apoc.convert.getJsonPropertyMap
Function APOC Core
apoc.convert.getJsonPropertyMap(node,key[,'json-path']) - converts serialized JSON in property back to map
Signature
apoc.convert.getJsonPropertyMap(node :: NODE?, key :: STRING?, path = :: STRING?) :: (MAP?)
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.getJsonPropertyMap(p, "json") AS output;
Output |
---|
{a: [1, 2, 3]} |
Was this page helpful?