public class CouchDBFormat extends JsonFormat
Modifier and Type | Class and Description |
---|---|
protected static class |
CouchDBFormat.CouchDBGenerator |
protected static class |
CouchDBFormat.Tokenizer |
JsonFormat.JsonGenerator, JsonFormat.ParseException
Constructor and Description |
---|
CouchDBFormat() |
Modifier and Type | Method and Description |
---|---|
void |
merge(CharSequence input,
com.google.protobuf.ExtensionRegistry extensionRegistry,
com.google.protobuf.Message.Builder builder)
Parse a text-format message from
input and merge the contents into builder . |
void |
print(com.google.protobuf.Message message,
Appendable output)
Outputs a textual representation of the Protocol Message supplied into the parameter output.
|
void |
print(com.google.protobuf.UnknownFieldSet fields,
Appendable output)
Outputs a textual representation of
fields to output . |
mergeField, print, printField, printUnknownFields
merge, merge, print, print
getDefaultCharset, merge, merge, merge, print, print, printToString, printToString, setDefaultCharset
public void print(com.google.protobuf.Message message, Appendable output) throws IOException
print
in class JsonFormat
IOException
public void print(com.google.protobuf.UnknownFieldSet fields, Appendable output) throws IOException
fields
to output
.print
in class JsonFormat
IOException
public void merge(CharSequence input, com.google.protobuf.ExtensionRegistry extensionRegistry, com.google.protobuf.Message.Builder builder) throws JsonFormat.ParseException
input
and merge the contents into builder
.
Extensions will be recognized if they are registered in extensionRegistry
.merge
in class JsonFormat
JsonFormat.ParseException
Copyright © 2019. All rights reserved.