Index

B I M O P R S W 
All Classes|All Packages

B

build() - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Returns the built MessageMarshaller, generating TypeSpecificMarshaller for all registered Message types.
builder() - Static method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Returns a new MessageMarshaller.Builder for registering Message types for use in a MessageMarshaller as well as setting various serialization and parsing options.

I

ignoringUnknownFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether unknown fields should be allowed when parsing JSON input.
includingDefaultValueFields(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether unset fields will be serialized with their default values.

M

mergeValue(byte[], Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON UTF-8 bytes into the provided Message.Builder.
mergeValue(JsonParser, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the content inside the JsonParser into the provided Message.Builder.
mergeValue(InputStream, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON bytes inside the provided InputStream into the provided Message.Builder.
mergeValue(String, Message.Builder) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Merges the JSON String into the provided Message.Builder.
MessageMarshaller - Class in org.curioswitch.common.protobuf.json
A marshaller of pre-registered Message types.
MessageMarshaller.Builder - Class in org.curioswitch.common.protobuf.json
A MessageMarshaller.Builder of MessageMarshallers, allows registering Message types to marshall and set options.

O

omittingInsignificantWhitespace(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Whether the serialized JSON output will omit all insignificant whitespace.
org.curioswitch.common.protobuf.json - package org.curioswitch.common.protobuf.json
Code for efficiently marshalling between protobuf objects and JSON.

P

preservingProtoFieldNames(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Set whether field names should use the original name in the .proto file instead of converting to lowerCamelCase when serializing messages.
printingEnumsAsInts(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether enum values should be printed as their integer value rather than their name.

R

register(Message) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the type of the provided Message for use with the created MessageMarshaller.
register(Class<? extends Message>) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Registers the provided Message type for use with the created MessageMarshaller.

S

sortingMapKeys(boolean) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller.Builder
Sets whether map keys will be sorted in the JSON output.

W

writeValue(T, JsonGenerator) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON, writing to the provided JsonGenerator.
writeValue(T, OutputStream) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON, writing to the provided OutputStream.
writeValueAsBytes(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into JSON as UTF-8 encoded bytes.
writeValueAsString(T) - Method in class org.curioswitch.common.protobuf.json.MessageMarshaller
Converts a Message into a JSON String.
B I M O P R S W 
All Classes|All Packages