apoc.convert

Qualified Name Type

apoc.convert.setJsonProperty(node,key,complexValue) - sets value serialized to JSON as property with the given name on the node

Procedure

apoc.convert.toTree([paths],[lowerCaseRels=true], [config]) creates a stream of nested documents representing the at least one root of these paths

Procedure

apoc.convert.fromJsonList('[1,2,3]'[,'json-path'])

Function

apoc.convert.fromJsonMap('{"a":42,"b":"foo","c":[1,2,3]}'[,'json-path'])

Function

apoc.convert.getJsonProperty(node,key[,'json-path']) - converts serialized JSON in property back to original object

Function

apoc.convert.getJsonPropertyMap(node,key[,'json-path']) - converts serialized JSON in property back to map

Function

apoc.convert.toBoolean(value) | tries it’s best to convert the value to a boolean

Function

apoc.convert.toBooleanList(value) | tries it’s best to convert the value to a list of booleans

Function

apoc.convert.toFloat(value) | tries it’s best to convert the value to a float

Function

apoc.convert.toIntList(value) | tries it’s best to convert the value to a list of integers

Function

apoc.convert.toInteger(value) | tries it’s best to convert the value to an integer

Function

apoc.convert.toJson([1,2,3]) or toJson({a:42,b:"foo",c:[1,2,3]})

Function

apoc.convert.toList(value) | tries it’s best to convert the value to a list

Function

apoc.convert.toMap(value) | tries it’s best to convert the value to a map

Function

apoc.convert.toNode(value) | tries it’s best to convert the value to a node

Function

apoc.convert.toNodeList(value) | tries it’s best to convert the value to a list of nodes

Function

apoc.convert.toRelationship(value) | tries it’s best to convert the value to a relationship

Function

apoc.convert.toRelationshipList(value) | tries it’s best to convert the value to a list of relationships

Function

apoc.convert.toSet(value) | tries it’s best to convert the value to a set

Function

apoc.convert.toSortedJsonMap(node|map, ignoreCase:true) - returns a JSON map with keys sorted alphabetically, with optional case sensitivity

Function

apoc.convert.toString(value) | tries it’s best to convert the value to a string

Function

apoc.convert.toStringList(value) | tries it’s best to convert the value to a list of strings

Function