public < MarshallT > JsonProtocolMarshallerBuilder < T > marshallerOverride ( MarshallLocation marshallLocation , MarshallingType < MarshallT > marshallingType , StructuredJsonMarshaller < MarshallT > marshaller ) { if ( marshallerRegistry == null ) { this . marshallerRegistry = MarshallerRegistry . builder ( ) ; } marshallerRegistry . addMarshaller ( marshallLocation , marshallingType , SimpleTypeJsonMarshallers . adapt ( marshaller ) ) ; return this ; }
Registers an override for the marshaller registry .