Skip to content

Properties(node) with integer values returned with high/low object #225

Closed
@fancellu

Description

@fancellu

e.g.

match (n) return properties(n), labels(n), id(n)

So, for a node with properties: name: "Dino", age: 50, I'll get back the following JS object

{
          "name": "Dino",
          "age": {
            "low": 50,
            "high": 0
          }
        }```

Is there a way to get Neo4J to return something less surprising? 

The browser does this when displaying the value. If not, is there a recommended way to take the returned
object and recurse through it turning it back to a JS integer?

The properties could of course be N layers deep, and I just want to JSON.stringify() on it, 
but the high/low stuff looks odd.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions