protected static class ProtobufJsonFormat.JsonGenerator extends Object
Constructor and Description |
---|
ProtobufJsonFormat.JsonGenerator(Appendable output) |
Modifier and Type | Method and Description |
---|---|
void |
indent()
Indent text by two spaces.
|
void |
outdent()
Reduces the current indent level by two spaces, or crashes if the indent level is zero.
|
void |
print(CharSequence text)
Print text to the output stream.
|
public ProtobufJsonFormat.JsonGenerator(Appendable output)
public void indent()
public void outdent()
public void print(CharSequence text) throws IOException
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.