Package sk.iway.iwcm.system.json
Class JsonObjectGenerator
java.lang.Object
sk.iway.iwcm.system.json.JsonObjectGenerator
Zjednodusuje generovanie zlozitejsich Json objektov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddArrayOfObjects
(org.json.JSONObject json, String arrayName, Collection<?> collection, String attrs)
-
Constructor Details
-
JsonObjectGenerator
public JsonObjectGenerator()
-
-
Method Details
-
setObjectFormaterFactory
-
addObject
public JsonObjectGenerator addObject(org.json.JSONObject json, String objectName, Object bean, String attrs) -
addArrayOfObjects
public JsonObjectGenerator addArrayOfObjects(org.json.JSONObject json, String arrayName, Collection<?> collection, String attrs)
-