neo4j/community — Issue #162: Invalid JSON returned in REST API
Author: maxdemarzi
Created: 2011-12-31 16:59:54+00:00
State: open

What I mean is that getting a single
node property does not return valid JSON.

GET http://localhost:7474/db/data/relationship/13/properties/cost
Accept: application/json
Content-Type: application/json
"deadly"

"deadly" is not valid json. It's valid 'text/plain'.
{"cost":"deadly"} would valid json.
["deadly"] would also be valid json.

See http://groups.google.com/group/neo4j/browse_thread/thread/7dd6ec50d2565780