@Override
        public void serialize(ThriftCall value, JsonGenerator gen, SerializerProvider provider)
                throws IOException {
            gen.writeStartObject();
            gen.writeFieldName("header");
            serializeTMessage(value.header(), gen);
            gen.writeFieldName("args");
            serializeTBase(value.args(), gen, useNamedEnums);
            gen.writeEndObject();
        }
Jackson {@link JsonSerializer} for {@link ThriftCall}.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/common/thrift/ThriftJacksonSerializers.java