public JsonWriter writeName ( String name ) throws IOException { indent ( ) ; writer . write ( escape ( name ) ) ; writer . write ( ":" ) ; if ( prettyPrint ) { writer . write ( " " ) ; } willWriteValue = true ; return this ; }
Writes a key name to a character stream .