Class CharacterJsonSerializer

  • All Implemented Interfaces:
    TypeJsonSerializer<java.lang.Character>

    public class CharacterJsonSerializer
    extends java.lang.Object
    implements TypeJsonSerializer<java.lang.Character>
    Character serializer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean serialize​(JsonContext jsonContext, java.lang.Character value)
      Serializes a value and writes a JSON content.
      • Methods inherited from class java.lang.Object

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

      • CharacterJsonSerializer

        public CharacterJsonSerializer()
    • Method Detail

      • serialize

        public boolean serialize​(JsonContext jsonContext,
                                 java.lang.Character value)
        Description copied from interface: TypeJsonSerializer
        Serializes a value and writes a JSON content. Returns true if content was written. Returns false if content for some reason was not written.
        Specified by:
        serialize in interface TypeJsonSerializer<java.lang.Character>