Clover icon

Coverage Report

  1. Project Clover database Thu Nov 7 2024 10:11:34 GMT
  2. Package org.json.simple.parser

File ContainerFactory.java

 

Code metrics

0
0
0
1
27
8
0
-
-
0
-

Classes

Class Line # Actions
ContainerFactory 14 0 0
-1.0 -
 

Contributing tests

No tests hitting this source file were found.

Source view

1    package org.json.simple.parser;
2   
3    import java.util.List;
4    import java.util.Map;
5   
6    /**
7    * Container factory for creating containers for JSON object and JSON array.
8    *
9    * @see org.json.simple.parser.JSONParser#parse(java.io.Reader,
10    * ContainerFactory)
11    *
12    * @author FangYidong<fangyidong@yahoo.com.cn>
13    */
 
14    public interface ContainerFactory
15    {
16    /**
17    * @return A Map instance to store JSON object, or null if you want to use
18    * org.json.simple.JSONObject.
19    */
20    Map createObjectContainer();
21   
22    /**
23    * @return A List instance to store JSON array, or null if you want to use
24    * org.json.simple.JSONArray.
25    */
26    List creatArrayContainer();
27    }