neo4j/community — Issue #159: Listing indices using REST difficult to deserialize
Author: unhandled
Created: 2011-12-30 15:59:44+00:00
State: open

While listing indices, the results are returned in a way that makes it difficult to deserialize the objects using something like JSON.NET

Instead of :

{
"favorites" : {
"template" : "http://localhost:7474/db/data/index/node/favorites/{key}/{value}",
"provider" : "lucene",
"type" : "exact"
}
}

Maybe something similar to the following would be preferable:

{
{
"name": "favorites",
"properties" : {
"template" : "http://localhost:7474/db/data/index/node/favorites/{key}/{value}",
"provider" : "lucene",
"type" : "exact"},
}
}

Having attribute names constant facilitates automatic deserialization.