public interface

ContainerFactory

com.pnfsoftware.jeb.util.encoding.json.parser.ContainerFactory

Class Overview

Container factory for creating containers for JSON object and JSON array.

Summary

Public Methods
abstract List creatArrayContainer()
abstract Map createObjectContainer()

Public Methods

public abstract List creatArrayContainer ()

Returns
  • A List instance to store JSON array, or null if you want to use org.json.simple.JSONArray.

public abstract Map createObjectContainer ()

Returns
  • A Map instance to store JSON object, or null if you want to use org.json.simple.JSONObject.