neo4j/community — Issue #276: Array is JSON output is wrong
Author: grydstedt
Created: 2012-02-24 18:14:45+00:00
State: open

When doing a cypher call via the REST API to get back an array, the returned value is a string representation of the object.

node1.x=[1, 2]

With Cypher query over REST:
{"query": "start n = node(1) return n.x","params": {}}

Response back is:
{
"data" : [ [ "[I@77f541ef" ] ],
"columns" : [ "n.x" ]
}
Should be
{
"data" : [ [1, 2 ] ],
"columns" : [ "n.x" ]
}