Humm… I have patched the JSONSerializer.java as mentioned in the post and recompiled the .jar file however I don’t get any extra information to the problem
HOWEVER…
Doing
var pageData = plugins.http.getPageData(urlString,‘mybrowser’);
var myObject = eval(‘(’ + pageData + ‘)’);
Works just fine for de-serializing the JSON string into an Object, so I think I’m all set with this. Although it begs the question…why do we need the plugin if eval() and uneval() work just fine for (de)serialization?
The plugin tries to create a java object for all non-primitives.
It tries to find a javaClass attribute which is not found.
The eval-should work fine.
Note that the eval has a security issue, it can execute any javascript code, so only use data from a trusted source, see http://en.wikipedia.org/wiki/JSON