toxic88 / smartgwt

Automatically exported from code.google.com/p/smartgwt
0 stars 0 forks source link

String JSON.decode(String) should not return a String #324

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

The recently added com.smartgwt.client.util.JSON utility class contains a typo:

    public static native String decode(String jsonString) /*-{
        return $wnd.isc.JSON.decode(jsonString);
    }-*/;

I think this method should return a JavaScriptObject instead.

Regards

What version of the product are you using? On what operating system?
SmartGWT trunk r742

Original issue reported on code.google.com by nev...@gmail.com on 19 Sep 2009 at 1:22

GoogleCodeExporter commented 9 years ago
Fixed in SVN, thanks.

Original comment by sanjiv.j...@gmail.com on 19 Sep 2009 at 1:29

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 26 Sep 2009 at 8:04