Monday, April 1, 2013

Re: Complex JSON and overlay types

Thank you for your answer. If I do that:
 
public final native JsArray<json> getTest()
     /*-{
         return this.records[0].names.John;
     }-*/;

  
I get 50,H,US, so it's OK for that. But I'm not supposed to know "John" or "Jack", so how can I get them?

Le samedi 30 mars 2013 12:00:06 UTC-4, Patrick Tucker a écrit :
It looks like your array is defined at: records[0].names.John

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment