Friday, December 30, 2016

Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

 
 Can I do anything more than setting the GWT compile output style to DETAILED to investigate further?

No. And I would recommend using PRETTY instead of DETAILED, as PRETTY is way more readable. But I would be surprised if you find any notable difference between JSNI and JsInterop that could cause the browser's native JSON.parse() method to return different results using the same input.

In my example the JS basically looks the same.

-- J.

--
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