Class Json
java.lang.Object
com.github.tomakehurst.wiremock.common.Json
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic intdeepSize(com.fasterxml.jackson.databind.JsonNode node) static com.fasterxml.jackson.databind.ObjectMapperstatic <T> TmapToObject(Map<String, Object> map, Class<T> targetClass) static intmaxDeepSize(com.fasterxml.jackson.databind.JsonNode one, com.fasterxml.jackson.databind.JsonNode two) static com.fasterxml.jackson.databind.JsonNodeobjectToMap(T theObject) static StringprettyPrint(String json) static <T> Tstatic <T> Tstatic <T> Tstatic intschemaPropertyCount(com.fasterxml.jackson.databind.JsonNode schema) static byte[]toByteArray(Object object) static <T> Stringwrite(T object) static <T> Stringstatic <T> StringwritePrivate(T object)
-
Method Details
-
read
- Throws:
IOException
-
read
-
read
-
write
-
writePrivate
-
write
-
getObjectMapper
public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper() -
toByteArray
-
node
-
maxDeepSize
public static int maxDeepSize(com.fasterxml.jackson.databind.JsonNode one, com.fasterxml.jackson.databind.JsonNode two) -
deepSize
public static int deepSize(com.fasterxml.jackson.databind.JsonNode node) -
prettyPrint
-
mapToObject
-
objectToMap
-
schemaPropertyCount
public static int schemaPropertyCount(com.fasterxml.jackson.databind.JsonNode schema)
-