Class JSONManager

  • All Implemented Interfaces:

    
    public class JSONManager
    
                        

    Handles the extractions https://github.com/jayway/JsonPath/blob/master/json-path/src/test/java/com/jayway/jsonpath/ComplianceTest.java

    Since:

    3.0

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONManager()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      void reset()
      List<Object> extractWithJsonPath(String jsonString, String jsonPath)
      • Methods inherited from class java.lang.Object

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

      • JSONManager

        JSONManager()
    • Method Detail

      • extractWithJsonPath

         List<Object> extractWithJsonPath(String jsonString, String jsonPath)
        Parameters:
        jsonString - JSON String from which data is extracted
        jsonPath - JSON-PATH expression
        Returns:

        List of JSON Strings of the extracted data