Package eliasstar.json.objects
Class JsonArray
- java.lang.Object
-
- eliasstar.json.objects.JsonArray
-
- All Implemented Interfaces:
JsonSerializable
public class JsonArray extends Object implements JsonSerializable
Represents a JSON array.- Since:
- 1.0.0
- Author:
- Elias*
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonArrayaddValue(Object value)JsonArrayaddValue(Object value, int index)voidclear()booleanequals(Object obj)List<Object>getAllValues()ObjectgetValue(int index)inthashCode()JsonArrayremoveValue(Object value)voidsetAllValues(List<Object> values)StringtoJson()StringtoString()
-
-
-
Method Detail
-
getValue
public Object getValue(int index)
-
clear
public void clear()
-
toJson
public String toJson()
- Specified by:
toJsonin interfaceJsonSerializable
-
-