Interface Json.JsonCodec
- Enclosing class:
Json
public static interface Json.JsonCodec
The abstract JSON codec interface.
-
Method Summary
Modifier and TypeMethodDescription<T> T
Convert the given JSON string to an object of the given class.<T> T
Convert the given JSON string to an object of the given type.Convert the given object to JSON.
-
Method Details
-
toJson
-
fromJson
-
fromJson
-