question: public JsonWriter newJsonWriter ( Writer writer ) throws IOException { if ( generateNonExecutableJson ) { writer . write ( JSON_NON_EXECUTABLE_PREFIX ) ; } JsonWriter jsonWriter = new JsonWriter ( writer ) ; if ( prettyPrinting ) { jsonWriter . setIndent ( "  " ) ; } jsonWriter . setSerializeNulls ( serializeNulls ) ; return jsonWriter ; }
target:  Returns a new JSON writer configured for the settings on this Gson instance.