EntityJSONWriter
directly@Produces(value="application/json") @Provider @Deprecated public class FacetWriter extends EntityJSONWriter<AbstractContentFacet>
entityToJSON, type
nullValueSupplier
ct, 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, writeTo
getNullValueSupplier, getSize, setNullValueSupplier
protected 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.