Class JsonbMarshaller<T>

java.lang.Object
io.helidon.grpc.core.JsonbMarshaller<T>
Type Parameters:
T - the type of value to be marshalled
All Implemented Interfaces:
io.grpc.MethodDescriptor.Marshaller<T>

public class JsonbMarshaller<T> extends Object implements io.grpc.MethodDescriptor.Marshaller<T>
An implementation of a gRPC MethodDescriptor.Marshaller that uses JSONB for serialization.
  • Method Details

    • stream

      public InputStream stream(T obj)
      Specified by:
      stream in interface io.grpc.MethodDescriptor.Marshaller<T>
    • parse

      public T parse(InputStream in)
      Specified by:
      parse in interface io.grpc.MethodDescriptor.Marshaller<T>