String function ( T arg0 ) { StringWriter loc0 = new StringWriter ( ) ; toJson ( loc0 , arg0 ) ; return loc0 . toString ( ) ; }
converts value to a json document . unlike gson 's similar gson #tojson object tojson method , this write is strict . create a jsonwriter #setlenient boolean lenient jsonwriter and call #write com.google.gson.stream.jsonwriter , object for lenientwriting . concode_field_sep PlaceHolder placeHolder concode_field_sep T read concode_elem_sep JsonElement toJsonTree concode_elem_sep T fromJson concode_elem_sep T fromJson concode_elem_sep TypeAdapter<T> nullSafe concode_elem_sep void write concode_elem_sep T fromJsonTree