Here is an example of my Json code:
array(\"id\" => 0, \"navn\" => \"Vind telefon\", \"udgiver\" => \"Telia\", \"beskrivelse\" => utf8_encode(\"V
To put object or array properties into your JsonObject and get them back as objects and arrays (not as string), use the approach:
new JsonObject().add( "mySubobject", new Gson().toJsonTree( new JsonObject()));