Class JsonUtils


  • public class JsonUtils
    extends Object
    • Constructor Detail

      • JsonUtils

        public JsonUtils()
    • Method Detail

      • getJsonNodeFromString

        public static com.fasterxml.jackson.databind.JsonNode getJsonNodeFromString​(String jsonString)
                                                                             throws TestingIOException
        Get JsonNode from a a String containing JSON.
        Parameters:
        jsonString - A string containing JSON
        Returns:
        A JsonNode that is the root node of the JSON structure.
        Throws:
        TestingIOException - if error occurs while reading json string