Class JsonUtils
java.lang.Object
net.bluemind.core.utils.JsonUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBufstatic byte[]static Stringstatic com.fasterxml.jackson.core.JsonParserstatic <T> JsonUtils.ListReader<T> listReader(Class<T> type) static <T> Tstatic <T> Tread(InputStream in, Class<T> type) static <T> Tstatic Objectstatic <T> JsonUtils.ValueReader<T> reader(com.fasterxml.jackson.core.type.TypeReference<T> type) static <T> JsonUtils.ValueReader<T> static <T> JsonUtils.ValueReader<T> static <T> Tstatic <T> List<T> static <T> List<T> static <T> Tstatic JsonUtils.ValueWriter
-
Method Details
-
createParser
- Throws:
IOException
-
readValue
public static <T> T readValue(com.fasterxml.jackson.core.JsonParser parser, Class<T> type) throws IOException - Throws:
IOException
-
read
-
reader
-
reader
public static <T> JsonUtils.ValueReader<T> reader(com.fasterxml.jackson.core.type.TypeReference<T> type) -
reader
-
read
-
read
-
read
-
readMap
-
listReader
-
readSome
-
readSome
-
asString
-
asBuffer
-
writer
-
asBytes
-