Debugging of JSON Econding

45 views
Skip to first unread message

Newbe

unread,
Jan 23, 2018, 4:01:43 AM1/23/18
to RestyGWT
Hello guys,
I have a nested object which will not correct encoded in json.

I spend a lot of time to figure out that on only a custom object toString() is called, which means JSONObject key got result of toString() method and corresponding value is empty.

Now I try to debug whole json encoding process but I don´t know how I can debug it.

Which steps are needed to do it? Is it not possible?

Thank you very much

Newbe

christian

unread,
Jan 26, 2018, 9:19:39 AM1/26/18
to rest...@googlegroups.com
I used this https://github.com/resty-gwt/resty-gwt/blob/master/restygwt/src/test/java/org/fusesource/restygwt/client/codec/EncoderDecoderTestGwt.java test class to find problems with encondings. just a test-case with your code and see/debug it.

- Christian

Reply all
Reply to author
Forward
0 new messages