Code example for JsonArray

Methods: add

0
	} 
 
	public static JsonPrimitive IDENTIFIER = new JsonPrimitive("f2");
	@Override 
	public JsonObject toJson() {
		JsonArray ret = new JsonArray();
		ret.add(IDENTIFIER);
		ret.add(new JsonPrimitive(this.getId()));
		return Reference.wrapAsReference(ret);
	} 
	 
	public String toString() {
		return "FutureReference(" + this.getId() + ")";
	} 
	 
	 
 
	 
} 
Connect your IDE to all the code out there  Get Codota for Java