Class JsonYamlUtil
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.utils.JsonYamlUtil
public class JsonYamlUtil extends Object
- Author:
- Madhav Krishna
-
Method Summary
Modifier and Type Method Description static StringconvertObjectToJsonString(Object obj)static <T> TreadNoException(com.jayway.jsonpath.DocumentContext yamlDocCtx, String path, com.jayway.jsonpath.TypeRef<T> type)static <T> TreadNoException(com.jayway.jsonpath.DocumentContext yamlDocCtx, String path, Class<T> type)
-
Method Details
-
readNoException
-
readNoException
public static <T> T readNoException(com.jayway.jsonpath.DocumentContext yamlDocCtx, String path, com.jayway.jsonpath.TypeRef<T> type) -
convertObjectToJsonString
public static String convertObjectToJsonString(Object obj) throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-