Class CharSequenceJsonSerializer

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

    public class CharSequenceJsonSerializer
    extends java.lang.Object
    implements TypeJsonSerializer<java.lang.CharSequence>
    CharSequence serializers.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean serialize​(JsonContext jsonContext, java.lang.CharSequence 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

      • CharSequenceJsonSerializer

        public CharSequenceJsonSerializer()
    • Method Detail

      • serialize

        public boolean serialize​(JsonContext jsonContext,
                                 java.lang.CharSequence 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.CharSequence>