What about:

"data": {"name" : "NeoS::Max"}, "age": {"NeoI::31" }
"data": {"name" : "NeoS[]::Max,Javier,Peter"}, "age": {"NeoI[]::31,29,33" }



On Tue, Nov 23, 2010 at 4:59 PM, Rick Bullotta
<rick.bullo...@burningskysoftware.com> wrote:
> FWIW, we store all dates as milliseconds relative to UTC, and pass them
> around in that format.  We identify the data types of fields/properties in
> separate metadata structures embedded in the response, making the returned
> content easily parsable and interpretable by relatively dumb clients.
>
> -----Original Message-----
> From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On
> Behalf Of Javier de la Rosa
> Sent: Tuesday, November 23, 2010 4:26 PM
> To: Neo4j user discussions
> Subject: [SPAM] Re: [Neo4j] Datetimes in Neo4j REST Server
>
> On Tue, Nov 23, 2010 at 16:05, Peter Neubauer
> <peter.neuba...@neotechnology.com> wrote:
>> Jim, what do you say about that? How type safe can we make the REST
>> API? At least I think this warrants an issue over at
>> https://trac.neo4j.org/ticket/286 for this.
>
> Thank you Peter and Max for the quick response. It would be great to
> have well defined data types in the REST server.
> I hope the solution also works in order to talk to the server what
> types are sent to it, because now we have no way to create Date or
> List objects like properties in nodes or relationships trhough the
> REST API.
>
> It's not easy manage with Dates and objects in JSON. The proposal in
> https://trac.neo4j.org/ticket/286 adds some overhead although I think
> is a very good solution. However, there wouldn't be backwards
> compatibility.
>
> Best regards.
>
>
>
> --
> Javier de la Rosa
> http://versae.es
> _______________________________________________
> 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
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to