I think PUTting a value to the property's URI (which is effectively it's key 
within the node).

Isn't that what we already do though?

Jim



On 17 Oct 2011, at 07:16, Peter Neubauer wrote:

> 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" <[email protected]> wrote:
> 
>> On Sun, Oct 16, 2011 at 6:06 AM, Peter Neubauer <
>> [email protected]> 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
>> [email protected]
>> https://lists.neo4j.org/mailman/listinfo/user
>> 
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to