@InterfaceAudience.Public public final class JsonMapper extends Object
Modifier and Type | Field and Description |
---|---|
private static com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
Modifier | Constructor and Description |
---|---|
private |
JsonMapper() |
Modifier and Type | Method and Description |
---|---|
static String |
writeMapAsString(Map<String,Object> map) |
static String |
writeObjectAsString(Object object) |
private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
private JsonMapper()
public static String writeMapAsString(Map<String,Object> map) throws IOException
IOException
public static String writeObjectAsString(Object object) throws IOException
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.