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