public static ServerServiceDefinition useJsonMessages(final ServerServiceDefinition serviceDef)
            throws IllegalArgumentException, IllegalAccessException {
        return useMarshalledMessages(serviceDef,
                ProtoUtils.marshaller(JsonMessage.buildJsonMessage()));
    }
wrap ServerServiceDefinition to get json ServerServiceDefinition.
@param serviceDef ServerServiceDefinition
@return json ServerServiceDefinition
@throws IllegalArgumentException IllegalArgumentException
@throws IllegalAccessException IllegalAccessException
shenyu-client/shenyu-client-grpc/src/main/java/org/apache/shenyu/client/grpc/json/JsonServerServiceInterceptor.java