public String getBody ( ) { JsonObject wrapper = new JsonObject ( ) ; wrapper . add ( type , obj ) ; return gsonBuilder . create ( ) . toJson ( wrapper ) ; }
Get the JSON encoded string representation of the object to be created .