Class JsonHelper


  • public class JsonHelper
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Value mapJsonResponse​(com.smartgridready.ns.v0.JMESPathMapping jmesPathMapping, java.lang.String response)  
      static Value parseJsonResponse​(java.lang.String jmesPath, java.lang.String jsonResp)  
      • Methods inherited from class java.lang.Object

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

      • LOG

        public static final org.slf4j.Logger LOG
    • Method Detail

      • parseJsonResponse

        public static Value parseJsonResponse​(java.lang.String jmesPath,
                                              java.lang.String jsonResp)
                                       throws com.smartgridready.driver.api.common.GenDriverException
        Throws:
        com.smartgridready.driver.api.common.GenDriverException
      • mapJsonResponse

        public static Value mapJsonResponse​(com.smartgridready.ns.v0.JMESPathMapping jmesPathMapping,
                                            java.lang.String response)
                                     throws com.smartgridready.driver.api.common.GenDriverException
        Throws:
        com.smartgridready.driver.api.common.GenDriverException