R - Root of rendererT - Data source typeP - Builder return typeN - Iterating nodepublic abstract class JSONArray<R,T,P,N> extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
JSONArray.ArrayCompletion<P> |
public <M> JSONObject<R,M,P> beginObject(IterMemberFunction<T,M> accessor)
public <M,N2> JSONArray<R,M,P,N2> array(IterMemberFunction<T,M> accessor, IteratorFunction<M,N2> iterator)
public <M extends List<N2>,N2> JSONArray<R,M,P,M> listArray(IterMemberFunction<T,M> accessor)
public <N2> JSONArray<R,N2[],P,N2[]> basicArray(IterMemberFunction<T,N2[]> accessor)
public <M extends Collection<N2>,N2> JSONArray<R,Iterator<N2>,P,Iterator<N2>> iterArray(IterMemberFunction<T,M> accessor)
public <M> P renderer(JSONRenderer<M> renderer, IterMemberFunction<T,M> accessor)
public JSONArraySelect<R,T,P,N> beginSelect()
public P empty()
public P constantNull()
public P bool(IterBoolFunction<T> func)
public P bool(IterBoolFunction<T> func, JSONType encode)
public P nullableBool(IterBoolFunction<T> isNull, IterBoolFunction<T> func)
public P nullableBool(IterBoolFunction<T> isNull, IterBoolFunction<T> func, JSONType encode)
public P integer(IterLongFunction<T> func)
public P integer(IterLongFunction<T> func, JSONType encode)
public P nullableInteger(IterBoolFunction<T> isNull, IterLongFunction<T> func)
public P nullableInteger(IterBoolFunction<T> isNull, IterLongFunction<T> func, JSONType encode)
public P decimal(int precision, IterDoubleFunction<T> func)
public P decimal(int precision, IterDoubleFunction<T> func, JSONType encode)
public P nullableDecimal(int precision, IterBoolFunction<T> isNull, IterDoubleFunction<T> func)
public P nullableDecimal(int precision, IterBoolFunction<T> isNull, IterDoubleFunction<T> func, JSONType encode)
public P string(IterStringFunction<T> func)
public P string(IterStringFunction<T> func, JSONType encode)
public P nullableString(IterStringFunction<T> func)
public P nullableString(IterStringFunction<T> func, JSONType encode)
public <E extends Enum<E>> P enumName(IterEnumFunction<T,E> func)
public <E extends Enum<E>> P enumOrdinal(IterEnumFunction<T,E> func)
Copyright © 2018. All Rights Reserved.