Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neo4j json format #197

Open
desenvolvedorindie opened this issue Mar 22, 2024 · 3 comments
Open

Neo4j json format #197

desenvolvedorindie opened this issue Mar 22, 2024 · 3 comments

Comments

@desenvolvedorindie
Copy link

How to return json results in format like the neo4j (json code) response and like nodejs oficial library too (response.records). I need this format because I want to use neovis.js library

[
  {
    "keys": [
      "n",
      "r",
      "m",
      "a"
    ],
    "length": 4,
    "_fields": [
      {
        "identity": {
          "low": 0,
          "high": 0
        },
        "labels": [
          "Character"
        ],
        "properties": {
        ...
  }
]
@desenvolvedorindie
Copy link
Author

image
neo4j json format

@desenvolvedorindie
Copy link
Author

@transistive there's any way to do it?

@stefanak-michal
Copy link
Contributor

Hi. Honestly I'm not sure if you can achieve this structure with client. If you need raw structure you should use only low level bolt library. That gives you db response in unchanged format.

Maybe client has method which gives you response unformatted. I don't know.

Transistive is recently inactive, so maybe you will have to wait for answer longer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants