users@jersey.java.net

[Jersey] Re: Multi Dimensional json Arrays

From: Tatu Saloranta <tsaloranta_at_gmail.com>
Date: Fri, 16 Sep 2011 19:57:42 -0700

On Fri, Sep 16, 2011 at 8:22 AM, Justin Knotzke <jknotzke_at_shampoo.ca> wrote:
>
>    Hi
>   Maybe I can clarify here:
>  https://strava.pbworks.com/w/page/39241255/v2%20upload%20create
>   This is the service I am trying to use.
>   Are you suggesting this is an invalid json ?

yes, wrt that missing comma after array value of "data_fields". Or is
that just a typo? There should definitely be a comma there.

But aside from that, it looks like you were hoping for some kind of
transformation form multiple properties into arrays of names and
values... if so, why? Why not instead have "data" property with
straight key/value pairs?

-+ Tatu +-