Class NetConverter


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

      • NetConverter

        public NetConverter()
    • Method Detail

      • registerDefault

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

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

        public static void serialize​(java.net.URI value,
                                     JsonWriter sw)
      • deserializeUri

        public static java.net.URI deserializeUri​(JsonReader reader)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeUriCollection

        public static java.util.ArrayList<java.net.URI> deserializeUriCollection​(JsonReader reader)
                                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeUriCollection

        public static void deserializeUriCollection​(JsonReader reader,
                                                    java.util.Collection<java.net.URI> res)
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeUriNullableCollection

        public static java.util.ArrayList<java.net.URI> deserializeUriNullableCollection​(JsonReader reader)
                                                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeUriNullableCollection

        public static void deserializeUriNullableCollection​(JsonReader reader,
                                                            java.util.Collection<java.net.URI> res)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • serializeNullable

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

        public static void serialize​(java.net.InetAddress value,
                                     JsonWriter sw)
      • deserializeIp

        public static java.net.InetAddress deserializeIp​(JsonReader reader)
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeIpCollection

        public static java.util.ArrayList<java.net.InetAddress> deserializeIpCollection​(JsonReader reader)
                                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeIpCollection

        public static void deserializeIpCollection​(JsonReader reader,
                                                   java.util.Collection<java.net.InetAddress> res)
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeIpNullableCollection

        public static java.util.ArrayList<java.net.InetAddress> deserializeIpNullableCollection​(JsonReader reader)
                                                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeIpNullableCollection

        public static void deserializeIpNullableCollection​(JsonReader reader,
                                                           java.util.Collection<java.net.InetAddress> res)
                                                    throws java.io.IOException
        Throws:
        java.io.IOException