Class JSONHelper


  • public class JSONHelper
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONHelper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.fasterxml.jackson.databind.JsonNode getJSONFromURL​(java.net.URL file)  
      static com.fasterxml.jackson.databind.JsonNode MapToJSON​(java.util.Map<java.lang.String,​java.lang.Object> map)  
      • Methods inherited from class java.lang.Object

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

      • JSONHelper

        public JSONHelper()
    • Method Detail

      • getJSONFromURL

        public static com.fasterxml.jackson.databind.JsonNode getJSONFromURL​(java.net.URL file)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • MapToJSON

        public static com.fasterxml.jackson.databind.JsonNode MapToJSON​(java.util.Map<java.lang.String,​java.lang.Object> map)
                                                                 throws java.io.IOException
        Throws:
        java.io.IOException