That JSON is one-element array with a a single map entry. Therefore "/firstName" would be the incorrect path to the first name. Since JSONParser would parse this into a Map where the "root" key is the array, I think your query string should be "/root[0]/firstName" instead of "/firstName"
Steve On Fri, May 26, 2017 at 10:37 PM, Shai Almog <[email protected]> wrote: > phoneNumber seems to be misspelled. You didn't mention the error you are > getting. > > -- > You received this message because you are subscribed to the Google Groups > "CodenameOne Discussions" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > Visit this group at https://groups.google.com/ > group/codenameone-discussions. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/codenameone-discussions/8fd02e8d-3ae1-40dd-8e00- > b112d1f478f0%40googlegroups.com > <https://groups.google.com/d/msgid/codenameone-discussions/8fd02e8d-3ae1-40dd-8e00-b112d1f478f0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Steve Hannah Web Lite Solutions Corp. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/CABiRg%2BTLOGwEy_WNBY4KBY59BkWNr4y15cwDDLoD9HQoqo86Lw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
