Class JsonArray

java.lang.Object
java.util.AbstractCollection<Object>
java.util.AbstractList<Object>
com.northconcepts.datapipeline.jsonata.JsonArray
All Implemented Interfaces:
Iterable<Object>, Collection<Object>, List<Object>, SequencedCollection<Object>

public final class JsonArray extends AbstractList<Object>
A lightweight List adapter over a DataPipeline ArrayValue.

This avoids the memory overhead of deep-copying every ArrayValue into an ArrayList before the JSONata engine can evaluate it. Element values are lazily unwrapped on access: nested Records become JsonObjects, nested ArrayValues become JsonArrays, and SingleValues are returned as their raw Java values.