That’s coming from the defaultBeanProcessing() method in JSONObject:

It seems like JSONObject is tripping up on the GString. My guess is that it doesn’t see it as a String, and therefore attempts to treat it like a bean. I couldn’t verify this theory because for some reason json-lib is not resolving for me via @Grab. But, try doing a toString() on that GString.

On Apr 27, 2016, at 12:36 PM, Guy Matz <> wrote:

net.sf.json.JSONObject _fromBean