Class BoolConverter


  • public abstract class BoolConverter
    extends java.lang.Object
    • Constructor Detail

      • BoolConverter

        public BoolConverter()
    • Method Detail

      • registerDefault

        static <T> void registerDefault​(DslJson<T> json)
      • serializeNullable

        public static void serializeNullable​(@Nullable
                                             java.lang.Boolean value,
                                             JsonWriter sw)
      • serialize

        public static void serialize​(boolean value,
                                     JsonWriter sw)
      • deserialize

        public static boolean deserialize​(JsonReader reader)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeBoolArray

        public static boolean[] deserializeBoolArray​(JsonReader reader)
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeCollection

        public static java.util.ArrayList<java.lang.Boolean> deserializeCollection​(JsonReader reader)
                                                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeCollection

        public static void deserializeCollection​(JsonReader reader,
                                                 java.util.Collection<java.lang.Boolean> res)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeNullableCollection

        public static java.util.ArrayList<java.lang.Boolean> deserializeNullableCollection​(JsonReader reader)
                                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeNullableCollection

        public static void deserializeNullableCollection​(JsonReader reader,
                                                         java.util.Collection<java.lang.Boolean> res)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException