Wednesday, November 15, 2017

Dynamic values in json parsing with GWT

I have a json response like this

{"columns": ["a", "b", "c"], "data": {"a": "some value", "b": "some value", "c": "some value"}}

Now here whatever values columns have the same values are used as keys in data object. I have to parse this json in GWT client side. As far as I know JSNI requires fixed json objects. Is there any way to parse this?

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment