Package io.anyline2.di.config
Object JsonPojoProviderImpl
-
- All Implemented Interfaces:
public class JsonPojoProviderImpl
-
-
Field Summary
Fields Modifier and Type Field Description private final Moshi
moshi
public final static JsonPojoProviderImpl
INSTANCE
-
Method Summary
Modifier and Type Method Description final static <T extends Any> T
fromJson(JSONObject json)
final static <T extends Any> JSONObject
toJson(T instance)
final Moshi
getMoshi()
-
-
Method Detail
-
fromJson
final static <T extends Any> T fromJson(JSONObject json)
-
toJson
final static <T extends Any> JSONObject toJson(T instance)
-
getMoshi
final Moshi getMoshi()
-
-
-
-