EntityJSONCollectionWriter
directly@Produces(value="application/json") @Provider @Deprecated public class ProductListWriter extends EntityJSONCollectionWriter<List<Product>>
ResultRow
sentityToJSON, type
nullValueSupplier
ct, t
Constructor and Description |
---|
ProductListWriter()
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. |
getCollectionTypeEvaluator, getEntityJsonTransformersMap, getEntityToJsonMapper, isWriteable, setCollectionTypeEvaluator, setEntityJsonTransformersMap, setEntityToJsonMapper, writeTo
getEntityToJSON, getType, setEntityToJSON, setType
getNullValueSupplier, getSize, setNullValueSupplier
protected 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<List<Product>>
Copyright © 2018. All rights reserved.