public <M> JSONObject<R, M, P> beginObject(ToMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
public <M> JSONObject<R, M, P> startObject(IterMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(iterator, accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
public <M> JSONObject<R, M, P> beginObject(IterMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(iterator, accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
public <M> JSONObject<R, M, P> startObject(IterMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(iterator, accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
@Deprecated public <M> JSONObject<R, M, P> beginObject(IterMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(iterator, accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
@Deprecated public <M> JSONObject<R, M, P> beginObject(IterMemberFunction<T, M> accessor) { return new JSONObject<R, M, P>(builder.beginObject(iterator, accessor)) { @Override P objectEnded() { return childCompleted(); } }; }
public <M> JSONObject<R, M, JSONObject<R, T, P>> startObject(String name, ToMemberFunction<T, M> accessor) { return new JSONObject<R, M, JSONObject<R, T, P>>(builder.addFieldPrefix(name).beginObject(accessor)) { @Override JSONObject<R, T, P> objectEnded() { return JSONObject.this; } }; }
public <M> JSONObject<R, M, JSONObject<R, T, P>> startObject(String name, ToMemberFunction<T, M> accessor) { return new JSONObject<R, M, JSONObject<R, T, P>>(builder.addFieldPrefix(name).beginObject(accessor)) { @Override JSONObject<R, T, P> objectEnded() { return JSONObject.this; } }; }
public <M> JSONObject<R, M, JSONObject<R, T, P>> beginObject(String name, ToMemberFunction<T, M> accessor) { return new JSONObject<R, M, JSONObject<R, T, P>>(builder.addFieldPrefix(name).beginObject(accessor)) { @Override JSONObject<R, T, P> objectEnded() { return JSONObject.this; } }; }
public <M> JSONObject<R, M, P> startObject(ToMemberFunction<T, M> accessor) { return new StartObjectJSON<R, M, P>(builder.beginObject(accessor)); }
public <M> JSONObject<R, M, P> startObject(ToMemberFunction<T, M> accessor) { return new StartObjectJSON<R, M, P>(builder.beginObject(accessor)); }