view org/json/simple/parser/ContainerFactory.java @ 13:4c6bba5f44e7 OrthancImageJ-1.1

missing file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 15 Apr 2016 12:00:14 +0200
parents 1092b2dca366
children
line wrap: on
line source

package org.json.simple.parser;

import java.util.List;
import java.util.Map;

/**
 * Container factory for creating containers for JSON object and JSON array.
 * 
 * @see org.json.simple.parser.JSONParser#parse(java.io.Reader, ContainerFactory)
 * 
 * @author FangYidong<fangyidong@yahoo.com.cn>
 */
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();
}