Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-18-2020 03:09 AM
Hi Everyone,
I have a json structure like below.
'ha': StringType(),
'confirmations': LongType(),
'previousha': StringType(),
'nextha': StringType(),
'ax': [{
'axid': StringType(),
'ha': StringType(),
'ex': StringType(),
'win': [{
'axid': StringType(),
'Sig': {'as': StringType(),'ex': StringType(),'seq': LongType()},
'sequence':LongType(),
}],
'wout': [{
'value': DoubleType(),'n': LongType(),
'Pub': {
'type': StringType(),
'addresses': [StringType()]}
}]}]}
i want to parse above json structure and want to create nodes for each addresses element and for each 'ax' element.
please help me into this
02-18-2020 04:22 AM
Hi Kunal,
How are you passing this data to Neo4J? If you are using client driver then Cypher is map friendly and json parameter will be converted to MAP.
If you are loading it from file then please look at apoc.load.json method.
Here's a blog post that explains it's usage.
All the sessions of the conference are now available online