add

fun add(element: JsonElement): Boolean(source)

Adds the given JSON element to a resulting JSON array.

Always returns true similarly to ArrayList specification.