org.json.simple.parser.ContainerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplejson-to-easyjson Show documentation
Show all versions of simplejson-to-easyjson Show documentation
Adapter com.googlecode.json-simple:json-simple:jar to easyjson
The newest version!
package org.json.simple.parser;
import java.util.List;
import java.util.Map;
/**
* Container factory for creating containers for JSON object and JSON array.
*
* @author FangYidong
* @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory)
*/
public interface ContainerFactory {
/**
* @return A Map instance to store JSON object, or null if you want to use org.json.simple.JSONObject.
*/
Map createObjectContainer();
/**
* @return A List instance to store JSON array, or null if you want to use org.json.simple.JSONArray.
*/
List creatArrayContainer();
}