public class JsonCodec<T> extends Object implements TextCodec<T,String>
JsonCodec()
T
decode(String json)
String
encode(T obj)
static <T> T
readValue(String json, Class<T> clazz)
readValueAsType(String json)
static <T> String
toJson(T obj)
toJsonPretty(T obj)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JsonCodec()
public String encode(T obj)
encode
TextCodec<T,String>
public T decode(String json)
decode
public static <T> String toJson(T obj)
public static <T> String toJsonPretty(T obj)
public static <T> T readValue(String json, Class<T> clazz)
public static <T> T readValueAsType(String json)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.