Class TypeSpecificMarshaller<T extends com.google.protobuf.Message>
java.lang.Object
org.curioswitch.common.protobuf.json.TypeSpecificMarshaller<T>
Abstract class for protobuf marshallers. Subclasses implement serialization and parsing logic
only for the specific
Message type T. For well known types, this is hand-written
code and for others, bytecode is automatically generated for handling the type.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypeSpecificMarshaller
-
-
Method Details
-
doWrite
- Throws:
IOException
-
doMerge
protected void doMerge(com.fasterxml.jackson.core.JsonParser parser, int currentDepth, com.google.protobuf.Message.Builder messageBuilder) throws IOException - Throws:
IOException
-