# \#json

**URL:** https://community.neo4j.com/tag/json/236.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Entering JSON Data into Database Efficiently via Golang Driver](https://community.neo4j.com/t/entering-json-data-into-database-efficiently-via-golang-driver/67683)

<div class="topic-metadata">

**Author:** [@ltfragor](https://community.neo4j.com/u/ltfragor)\
**Replies:** 0\
**Last updated:** [May 1, 2024, 8:22pm UTC](https://community.neo4j.com/t/entering-json-data-into-database-efficiently-via-golang-driver/67683 "2024-05-01T20:22:18Z")

</div>

Hello, I am trying to load JSON files of roughly hundreds of thousands of small objects into my Neo4j DB efficiently. I am receiving the JSON files via REST requests to my API, so this is not a one-time operation, ther…

---

## [apoc.convert.setJsonProperty](https://community.neo4j.com/t/apoc-convert-setjsonproperty/66237)

<div class="topic-metadata">

**Author:** [@joshcornejo](https://community.neo4j.com/u/joshcornejo)\
**Replies:** 1\
**Last updated:** [February 9, 2024, 4:26pm UTC](https://community.neo4j.com/t/apoc-convert-setjsonproperty/66237 "2024-02-09T16:26:06Z")

</div>

Hi, Note: I don't foresee doing anything with the JSON inserted within Neo4J, it could be considered a very long string, and the semantics are required at the application layer. I am building a set of API and some of m…

---

## [Is there a way to run concurrently a query that handles API data?](https://community.neo4j.com/t/is-there-a-way-to-run-concurrently-a-query-that-handles-api-data/58348)

<div class="topic-metadata">

**Author:** [@damisg7](https://community.neo4j.com/u/damisg7)\
**Replies:** 3\
**Last updated:** [January 19, 2023, 8:46pm UTC](https://community.neo4j.com/t/is-there-a-way-to-run-concurrently-a-query-that-handles-api-data/58348 "2023-01-19T20:46:19Z")

</div>

Assuming that I want to create nodes for each CPE (Common Platform Enumeration from NVD) and get the data from the official API of NVD. Is there a way to run concurrently this task? I already created a constraint on the…

---

## [JSON Output File Cypher Query Readable by D3 Sankey](https://community.neo4j.com/t/json-output-file-cypher-query-readable-by-d3-sankey/58949)

<div class="topic-metadata">

**Author:** [@keithave](https://community.neo4j.com/u/keithave)\
**Replies:** 1\
**Last updated:** [November 12, 2022, 9:59am UTC](https://community.neo4j.com/t/json-output-file-cypher-query-readable-by-d3-sankey/58949 "2022-11-12T09:59:30Z")

</div>

Greetings, Apologies if info around this topic exists. I'm using Neo4j Community 3.5.1 w/ apoc-3.5.0.3-all. Goal Here is what I am trying to achieve... I want to run a cypher query that outputs a JSON file that is in …

---

## [How to compare 2 different versions (basically JSONs) from neo4j](https://community.neo4j.com/t/how-to-compare-2-different-versions-basically-jsons-from-neo4j/10599)

<div class="topic-metadata">

**Author:** [@kis.gajjar](https://community.neo4j.com/u/kis.gajjar)\
**Replies:** 1\
**Last updated:** [May 16, 2022, 3:12pm UTC](https://community.neo4j.com/t/how-to-compare-2-different-versions-basically-jsons-from-neo4j/10599 "2022-05-16T15:12:44Z")

</div>

I am designing an application where there is some amount of data stored in neo4j as different nodes and relationships. Depending on some other activities after 30 minutes there can be new set of data will come. In the …

---

## [Unable to import json file with apoc.import.json](https://community.neo4j.com/t/unable-to-import-json-file-with-apoc-import-json/53199)

<div class="topic-metadata">

**Author:** [@ariel.t](https://community.neo4j.com/u/ariel.t)\
**Replies:** 9\
**Last updated:** [April 18, 2022, 7:51am UTC](https://community.neo4j.com/t/unable-to-import-json-file-with-apoc-import-json/53199 "2022-04-18T07:51:54Z")

</div>

Please keep the following things in mind: Hi all, I'm trying to rum a GDS algorithm on part of my Neo4j DB. I understand that the best way to do it is to export and import this part to another instance. I have successfu…

---

## [First pentaho/kettle job ingest paginated REST API data into neo4j](https://community.neo4j.com/t/first-pentaho-kettle-job-ingest-paginated-rest-api-data-into-neo4j/13751)

<div class="topic-metadata">

**Author:** [@pdrangeid](https://community.neo4j.com/u/pdrangeid)\
**Replies:** 3\
**Last updated:** [February 17, 2022, 4:19pm UTC](https://community.neo4j.com/t/first-pentaho-kettle-job-ingest-paginated-rest-api-data-into-neo4j/13751 "2022-02-17T16:19:33Z")

</div>

I will draft a detailed tutorial in the future, but I've got some initial success! I'm querying Auvik (a network & infrastructure discovery/monitoring platform) via their REST API which returns JSON results (limited to …

---

## [Loading paginated JSON on a loop till a pagination key is not found](https://community.neo4j.com/t/loading-paginated-json-on-a-loop-till-a-pagination-key-is-not-found/50374)

<div class="topic-metadata">

**Author:** [@bpatters123](https://community.neo4j.com/u/bpatters123)\
**Replies:** 3\
**Last updated:** [January 14, 2022, 11:43pm UTC](https://community.neo4j.com/t/loading-paginated-json-on-a-loop-till-a-pagination-key-is-not-found/50374 "2022-01-14T23:43:00Z")

</div>

Trying to load paginated json from an AirTable using apoc.load.json. AirTable limits the rows to 100 but sends an offset key for the next page. So basically if you find an offset key in your json you have to make another…

---

## [Keeping array of string arrays as a property in a node](https://community.neo4j.com/t/keeping-array-of-string-arrays-as-a-property-in-a-node/49110)

<div class="topic-metadata">

**Author:** [@taylangezici1](https://community.neo4j.com/u/taylangezici1)\
**Replies:** 2\
**Last updated:** [December 17, 2021, 4:01pm UTC](https://community.neo4j.com/t/keeping-array-of-string-arrays-as-a-property-in-a-node/49110 "2021-12-17T16:01:35Z")

</div>

I have a huge amount of text data in my db. Therefore when i need to calculate the bigrams and trigrams of those texts it happens to be very expensive as you can imagine. So I am looking for a way to import all the n-gra…

---

## [Property values can only be of primitive types or arrays thereof. Encountered: Map](https://community.neo4j.com/t/property-values-can-only-be-of-primitive-types-or-arrays-thereof-encountered-map/48777)

<div class="topic-metadata">

**Author:** [@Mariana](https://community.neo4j.com/u/Mariana)\
**Replies:** 9\
**Last updated:** [December 15, 2021, 11:32am UTC](https://community.neo4j.com/t/property-values-can-only-be-of-primitive-types-or-arrays-thereof-encountered-map/48777 "2021-12-15T11:32:21Z")

</div>

I have a json file that I'm trying to import and build a graph. The code is: Cypher statement: //Load\_JSON\_Country CALL apoc.load.json("/Users/mpinto/.Neo4jDesktop/relate-data/dbmss/dbms-1f5f63ad-bba8-4673-8d16-2a3bd72…

---

## [Cypher: returning custom JSON from a graph projection query](https://community.neo4j.com/t/cypher-returning-custom-json-from-a-graph-projection-query/23540)

<div class="topic-metadata">

**Author:** [@phil.westwell](https://community.neo4j.com/u/phil.westwell)\
**Replies:** 4\
**Last updated:** [November 12, 2021, 3:24pm UTC](https://community.neo4j.com/t/cypher-returning-custom-json-from-a-graph-projection-query/23540 "2021-11-12T15:24:15Z")

</div>

It looks like a primary use case for me when querying is going to involve a) obtain a graph projection containing the information the user wants to see b) format this into a custom JSON format so that the client UI can…

---

## [APOC 3.5.0.3 Exact Syntax for jsonFormat: ARRAY\_JSON](https://community.neo4j.com/t/apoc-3-5-0-3-exact-syntax-for-jsonformat-array-json/46718)

<div class="topic-metadata">

**Author:** [@keithave](https://community.neo4j.com/u/keithave)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 8:52pm UTC](https://community.neo4j.com/t/apoc-3-5-0-3-exact-syntax-for-jsonformat-array-json/46718 "2021-11-03T20:52:13Z")

</div>

Greetings, Neo4j 3.5.6 Community I am trying to pin down the exact apoc syntax for producing array json using apoc 3.5.0.3. I am having a very hard time even finding apoc 3.5.0.3 documentation. Here is what I am tryin…

---

## ["Could not parse JSONLD" error when importing a JSON-LD file](https://community.neo4j.com/t/could-not-parse-jsonld-error-when-importing-a-json-ld-file/46792)

<div class="topic-metadata">

**Author:** [@neo4jeej](https://community.neo4j.com/u/neo4jeej)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 8:48am UTC](https://community.neo4j.com/t/could-not-parse-jsonld-error-when-importing-a-json-ld-file/46792 "2021-11-03T08:48:58Z")

</div>

Hi, I'm trying to import a json-ld file into neo4j. I've installed the APOC and Neosemantic plugins to accomplish this but run into the following error: "Could not parse JSONLD". What I've tried: An inline data inser…

---

## [Neo4j Export JSON Format](https://community.neo4j.com/t/neo4j-export-json-format/46333)

<div class="topic-metadata">

**Author:** [@keithave](https://community.neo4j.com/u/keithave)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 9:45pm UTC](https://community.neo4j.com/t/neo4j-export-json-format/46333 "2021-10-23T21:45:54Z")

</div>

Greetings, Neo4j 3.5.6 Community nodejs driver 4.3.0 plugin: apoc-3.5.0.3-all node.js I am able to run Call apoc.export.json.query and have it produce a .json file. However, trying to get my nodejs app to read this Ne…

---

## [Neo4j restortation error when trying from .json file](https://community.neo4j.com/t/neo4j-restortation-error-when-trying-from-json-file/46035)

<div class="topic-metadata">

**Author:** [@singhtanuj10](https://community.neo4j.com/u/singhtanuj10)\
**Replies:** 0\
**Last updated:** [October 18, 2021, 8:14am UTC](https://community.neo4j.com/t/neo4j-restortation-error-when-trying-from-json-file/46035 "2021-10-18T08:14:15Z")

</div>

when trying to restore in new database from json file, the operation stops with below error Failed to invoke procedure apoc.import.json: Caused by: com.fasterxml.jackson.core.io.JsonEOFException: Unexpected end-of-input…

---

## [How to batch json records using apoc library for better importing?](https://community.neo4j.com/t/how-to-batch-json-records-using-apoc-library-for-better-importing/45928)

<div class="topic-metadata">

**Author:** [@damisg7](https://community.neo4j.com/u/damisg7)\
**Replies:** 4\
**Last updated:** [October 16, 2021, 11:11pm UTC](https://community.neo4j.com/t/how-to-batch-json-records-using-apoc-library-for-better-importing/45928 "2021-10-16T23:11:47Z")

</div>

I want to import a large json dataset using apoc library, and create nodes - relationships. My script was working slowly (~750000 records). Neo4j Community suggested to batch the records for more efficiency. Firstly, wha…

---

## [APOC Export JSON Append to Existing File](https://community.neo4j.com/t/apoc-export-json-append-to-existing-file/43948)

<div class="topic-metadata">

**Author:** [@jona](https://community.neo4j.com/u/jona)\
**Replies:** 0\
**Last updated:** [September 4, 2021, 8:44pm UTC](https://community.neo4j.com/t/apoc-export-json-append-to-existing-file/43948 "2021-09-04T20:44:22Z")

</div>

Hello! I am trying to use apoc.export.json.query() inside of a apoc.periodic.iterate() call. In my Cypher query below, only the last result is saved to the "output.json" file as I presume the previous results are overw…

---

## [Import json data by using APOC - ERROR](https://community.neo4j.com/t/import-json-data-by-using-apoc-error/40451)

<div class="topic-metadata">

**Author:** [@nyamkhuu.bu](https://community.neo4j.com/u/nyamkhuu.bu)\
**Replies:** 3\
**Last updated:** [June 27, 2021, 4:21pm UTC](https://community.neo4j.com/t/import-json-data-by-using-apoc-error/40451 "2021-06-27T16:21:45Z")

</div>

Hello developers, I think, i need help. I try to import ~400K json data into graph database by using APOC. But I got an error. I believe I just make a small mistake on my cipher query. Error screen shot: Take a loo…

---

## [JSON Output File Cypher Query Readable by D3 Sankey](https://community.neo4j.com/t/json-output-file-cypher-query-readable-by-d3-sankey/20130)

<div class="topic-metadata">

**Author:** [@keithave](https://community.neo4j.com/u/keithave)\
**Replies:** 6\
**Last updated:** [June 15, 2021, 1:41am UTC](https://community.neo4j.com/t/json-output-file-cypher-query-readable-by-d3-sankey/20130 "2021-06-15T01:41:02Z")

</div>

Greetings, Apologies if info around this topic exists. I'm using Neo4j Community 3.5.1 w/ apoc-3.5.0.3-all. Goal Here is what I am trying to achieve... I want to run a cypher query that outputs a JSON file that is in …

---

## [Timeless Looping with Json Data](https://community.neo4j.com/t/timeless-looping-with-json-data/37984)

<div class="topic-metadata">

**Author:** [@damisg7](https://community.neo4j.com/u/damisg7)\
**Replies:** 1\
**Last updated:** [May 8, 2021, 11:41pm UTC](https://community.neo4j.com/t/timeless-looping-with-json-data/37984 "2021-05-08T23:41:34Z")

</div>

Hi, i have a json file with the Common Weakness Enumeration Catalog (CWE Catalog - Cybersecurity) and i want to generate a graph, importing this json file. In the last lines of my cypher i think that there is a mistake w…

---

## [Unable to load json through APOC JsonParseException](https://community.neo4j.com/t/unable-to-load-json-through-apoc-jsonparseexception/37747)

<div class="topic-metadata">

**Author:** [@e0508081](https://community.neo4j.com/u/e0508081)\
**Replies:** 2\
**Last updated:** [May 4, 2021, 6:25pm UTC](https://community.neo4j.com/t/unable-to-load-json-through-apoc-jsonparseexception/37747 "2021-05-04T18:25:11Z")

</div>

Hello, Some details on Config: Neo4j Browser version: \[4.2.6\] Neo4j Server version: \[4.2.1\] Question: I am trying to upload a json file into neo4j browser. However, the following error is throwing up. Also, the …

---

## [Neo4j export whole database to ARRAY\_JSON](https://community.neo4j.com/t/neo4j-export-whole-database-to-array-json/35902)

<div class="topic-metadata">

**Author:** [@amirkanan](https://community.neo4j.com/u/amirkanan)\
**Replies:** 4\
**Last updated:** [March 28, 2021, 12:14am UTC](https://community.neo4j.com/t/neo4j-export-whole-database-to-array-json/35902 "2021-03-28T00:14:42Z")

</div>

I tried to use an APOC procedure from here to export the DB using the following: CALL apoc.export.json.all("all.json",{useTypes:true}) I can successfuly export to JSONL. However, I am not able to change the JSON format…

---

## [Using neo4j-database to move data between neo4j instances](https://community.neo4j.com/t/using-neo4j-database-to-move-data-between-neo4j-instances/35748)

<div class="topic-metadata">

**Author:** [@yyakovson613](https://community.neo4j.com/u/yyakovson613)\
**Replies:** 1\
**Last updated:** [March 23, 2021, 6:37pm UTC](https://community.neo4j.com/t/using-neo4j-database-to-move-data-between-neo4j-instances/35748 "2021-03-23T18:37:36Z")

</div>

I want to get data from one neo4j instance A and create nodes based on it in another neo4j instance B. What’s the cleanest way to do that? I’d prefer not to have to deal with exporting and importing from files. I’m us…

---

## [Log format in neo4j 4.x](https://community.neo4j.com/t/log-format-in-neo4j-4-x/34558)

<div class="topic-metadata">

**Author:** [@jonas.nicole](https://community.neo4j.com/u/jonas.nicole)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 12:38pm UTC](https://community.neo4j.com/t/log-format-in-neo4j-4-x/34558 "2021-03-02T12:38:09Z")

</div>

Hello, I saw that http.log has been removed since neo4j 3.X. But what is replacing this key to format output logs? I need to format them in JSON format to be correctly parsed by filebeat/logstash. Thanks in advance for…

---

## [How to pass an external variable inside the load.json path?](https://community.neo4j.com/t/how-to-pass-an-external-variable-inside-the-load-json-path/33430)

<div class="topic-metadata">

**Author:** [@damisg7](https://community.neo4j.com/u/damisg7)\
**Replies:** 3\
**Last updated:** [February 9, 2021, 6:35pm UTC](https://community.neo4j.com/t/how-to-pass-an-external-variable-inside-the-load-json-path/33430 "2021-02-09T18:35:09Z")

</div>

I would like to pass an external variable to: call apoc.load.json("file:///...") I tried the command below (with the appropriate query run in python) but it didn't worked with an error of not finding the file. call…

---

## [Loading a JSON object via parameter that is composed by json objects, delimited by "\\n"](https://community.neo4j.com/t/loading-a-json-object-via-parameter-that-is-composed-by-json-objects-delimited-by-n/33369)

<div class="topic-metadata">

**Author:** [@bmalbusca](https://community.neo4j.com/u/bmalbusca)\
**Replies:** 1\
**Last updated:** [February 7, 2021, 10:06pm UTC](https://community.neo4j.com/t/loading-a-json-object-via-parameter-that-is-composed-by-json-objects-delimited-by-n/33369 "2021-02-07T22:06:29Z")

</div>

Hello, I have a Json file that is composed by a json object per line (as a result of pandas.to\_json() ) {json obj 1} {json obj 2} {json obj 3} {json obj 4} The problem is that when I send this object through a paramet…

---

## [Import json data by using APOC \[HELP\]](https://community.neo4j.com/t/import-json-data-by-using-apoc-help/32150)

<div class="topic-metadata">

**Author:** [@nyamkhuu.bu](https://community.neo4j.com/u/nyamkhuu.bu)\
**Replies:** 2\
**Last updated:** [January 16, 2021, 5:38pm UTC](https://community.neo4j.com/t/import-json-data-by-using-apoc-help/32150 "2021-01-16T17:38:31Z")

</div>

Dear developers please help me! I want to import json data into neo4j database. Now this is my data in Mongodb. I want to import like that: Here is my cipher SQL: CALL apoc.load.json("file:///data.json") yield va…

---

## [Export CSV/JSON from Neo4j (remote) instance through desktop interface](https://community.neo4j.com/t/export-csv-json-from-neo4j-remote-instance-through-desktop-interface/30293)

<div class="topic-metadata">

**Author:** [@lytellie](https://community.neo4j.com/u/lytellie)\
**Replies:** 1\
**Last updated:** [December 21, 2020, 12:03am UTC](https://community.neo4j.com/t/export-csv-json-from-neo4j-remote-instance-through-desktop-interface/30293 "2020-12-21T00:03:36Z")

</div>

So I have the embarrassing issue of having lost account access to the server some important research data is hosted on, in a Neo4j instance. Remote backup is enabled but I've had some problems with that and, as a data sc…

---

## [How can i put into graph a json record with inside records?](https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515)

<div class="topic-metadata">

**Author:** [@damisg7](https://community.neo4j.com/u/damisg7)\
**Replies:** 1\
**Last updated:** [December 17, 2020, 12:56am UTC](https://community.neo4j.com/t/how-can-i-put-into-graph-a-json-record-with-inside-records/30515 "2020-12-17T00:56:34Z")

</div>

Hi, let's assume that i have a json file like below: { "Laptop": "Lenovo", "Price": "500$", "Properties" : { "RAM": "4GB DDR4", "SSD": "500GB" } } How i can create the correct graph with the node A for the p…

---

## [Export neo4j data to json file](https://community.neo4j.com/t/export-neo4j-data-to-json-file/29283)

<div class="topic-metadata">

**Author:** [@beginner](https://community.neo4j.com/u/beginner)\
**Replies:** 1\
**Last updated:** [November 24, 2020, 9:48am UTC](https://community.neo4j.com/t/export-neo4j-data-to-json-file/29283 "2020-11-24T09:48:17Z")

</div>

I have neo4j database with 20 nodes, but there is only 2 label,x and y, now if I export data like below MATCH (n) RETURN n after the result of the above command, just used the option Export JSON and saved the JSON file …

[Next page](https://community.neo4j.com/tag/json/236.md?match_all_tags=true&page=1&tags%5B%5D=json)
