EntityJSONWriter directly@Produces(value="application/json") @Provider @Deprecated public class FacetWriter extends EntityJSONWriter<AbstractContentFacet>
entityToJSON, typenullValueSupplierct, t| Constructor and Description |
|---|
FacetWriter()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected net.sf.json.JsonConfig |
getConfig()
Deprecated.
If
EntityJSONWriter.entityToJSON is defined then Use the FacetToJson.getJsonConfig() else use the default FacetToJson.JSON_CONFIG
AbstractContent is related to AbstractContentAttribute via attributes. |
getEntityToJSON, getType, isWriteable, setEntityToJSON, setType, writeTogetNullValueSupplier, getSize, setNullValueSupplierprotected final net.sf.json.JsonConfig getConfig()
EntityJSONWriter.entityToJSON is defined then Use the FacetToJson.getJsonConfig() else use the default FacetToJson.JSON_CONFIG
AbstractContent is related to AbstractContentAttribute via attributes. This induces a cyclic dependency
for the JSON conversion process from Object to JSON String. Avoid that explicitlygetConfig in class EntityJSONWriter<AbstractContentFacet>Copyright © 2018. All rights reserved.