Class JSON


  • public abstract class JSON
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JSON()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.util.ArrayList<java.lang.Object> deserializeList​(JsonReader reader)  
      private static java.util.LinkedHashMap<java.lang.String,​java.lang.Object> deserializeMap​(JsonReader reader)  
      private static java.lang.Object deserializeObject​(JsonReader reader)  
      static java.util.List<java.lang.Object> readList​(byte[] input, int length)  
      static java.util.Map<java.lang.String,​java.lang.Object> readMap​(byte[] input, int length)  
      • Methods inherited from class java.lang.Object

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

      • JSON

        public JSON()
    • Method Detail

      • deserializeObject

        private static java.lang.Object deserializeObject​(JsonReader reader)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeList

        private static java.util.ArrayList<java.lang.Object> deserializeList​(JsonReader reader)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • readMap

        public static java.util.Map<java.lang.String,​java.lang.Object> readMap​(byte[] input,
                                                                                     int length)
                                                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • readList

        public static java.util.List<java.lang.Object> readList​(byte[] input,
                                                                int length)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • deserializeMap

        private static java.util.LinkedHashMap<java.lang.String,​java.lang.Object> deserializeMap​(JsonReader reader)
                                                                                                throws java.io.IOException
        Throws:
        java.io.IOException