# Class TagCollection

java.lang.Object
org.daypilot.data.TagCollection

public class TagCollection extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TagCollection(String[] fields, String[] values)`
  `TagCollection(String[] fields, JSONArray array)`
  `TagCollection(JSONObject object)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static TagCollection`
  `fromJSON(JSONObject json)`
  `String`
  `get(int index)`
  `String`
  `get(String field)`
  `JSONObject`
  `toJSON()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TagCollection

    public TagCollection(String[] fields, JSONArray array)

  - ### TagCollection

    public TagCollection(JSONObject object)

  - ### TagCollection

    public TagCollection(String[] fields, String[] values)

- ## Method Details

  - ### get

    public String get(int index)

  - ### get

    public String get(String field)

  - ### fromJSON

    public static TagCollection fromJSON(JSONObject json)

  - ### toJSON

    public JSONObject toJSON()