@MetaInfServices public class FastjsonEngine extends Object implements ContentTypeEngine
| Constructor and Description |
|---|
FastjsonEngine() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
fromString(String content,
Class<T> classOfT) |
String |
getContentType() |
void |
init(Application application) |
String |
toString(Object object) |
public void init(Application application)
init in interface ContentTypeEnginepublic String getContentType()
getContentType in interface ContentTypeEnginepublic String toString(Object object)
toString in interface ContentTypeEnginepublic <T> T fromString(String content, Class<T> classOfT)
fromString in interface ContentTypeEngineCopyright © 2018. All Rights Reserved.