Ok, So what would be good semantics gör updating just one property? Jim?
/peter Sent from my phone. On Oct 17, 2011 6:57 AM, "Aseem Kishore" <aseem.kish...@gmail.com> wrote: > On Sun, Oct 16, 2011 at 6:06 AM, Peter Neubauer < > peter.neuba...@neotechnology.com> wrote: > > > > Looking at > > > http://docs.neo4j.org/chunked/snapshot/rest-api-node-properties.html#rest-api-set-property-on-node > > you can set the property as just a string in the request, which is > > valid JSON. > > > > Hey Peter, > > I think the confusion may have stemmed from the fact that strings by > themselves are *not* actually valid JSON as far as I understand. > > I believe valid JSON is *technically* only objects and arrays, though many > libraries, in practice, tend to support primitive values as valid JSON too. > It's certainly convenient, and I prefer that, too. > > E.g. http://jsonlint.com/ validates {} and [] but not "" or 1 or true: > > > Parse error on line 1: > "" > ^ > Expecting '{', '[' > > > > Cheers, > Aseem > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user