Class JsonRpc.Serializer

java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<JsonRpc>
com.fasterxml.jackson.databind.ser.std.StdSerializer<JsonRpc>
org.jgrapes.webconsole.base.JsonRpc.Serializer
All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.jsonschema.SchemaAware, Serializable
Enclosing class:
JsonRpc

public static class JsonRpc.Serializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<JsonRpc>
A Serializer for a JsonRpc.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer

    com.fasterxml.jackson.databind.JsonSerializer.None
  • Field Summary

    Fields inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _handledType
  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiates a new serializer.
    Instantiates a new serializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serialize(JsonRpc obj, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider ctx)
    Serialize.

    Methods inherited from class com.fasterxml.jackson.databind.ser.std.StdSerializer

    _neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow

    Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer

    getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Serializer

      public Serializer()
      Instantiates a new serializer.
    • Serializer

      public Serializer(Class<JsonRpc> type)
      Instantiates a new serializer.
      Parameters:
      type - the type
  • Method Details

    • serialize

      public void serialize(JsonRpc obj, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider ctx) throws IOException
      Serialize.
      Specified by:
      serialize in class com.fasterxml.jackson.databind.ser.std.StdSerializer<JsonRpc>
      Parameters:
      obj - the obj
      generator - the generator
      ctx - the ctx
      Throws:
      IOException - Signals that an I/O exception has occurred.