Package org.jooq.tools.json
Interface ContainerFactory
-
public interface ContainerFactory
Container factory for creating containers for JSON object and JSON array.- Author:
- FangYidong<fangyidong@yahoo.com.cn>
- See Also:
JSONParser.parse(java.io.Reader, ContainerFactory)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List
createArrayContainer()
java.util.Map
createObjectContainer()
-
-
-
Method Detail
-
createObjectContainer
java.util.Map createObjectContainer()
- Returns:
- A Map instance to store JSON object, or null if you want to use org.json.simple.JSONObject.
-
createArrayContainer
java.util.List createArrayContainer()
- Returns:
- A List instance to store JSON array, or null if you want to use org.json.simple.JSONArray.
-
-