E- the type of the object that the items in the JSON Array are converted into
public class JsonIterableInputConverter<E> extends InputStreamIterableInputConverter<E> implements java.util.Iterator<E>
|Constructor and Description|
Construct a new instance of a JsonIterableInputConverter that is able to convert the data read from the InputStream into objects of the specified
|Modifier and Type||Method and Description|
Returns an Iterator that loops over the items in the JSON Array that is read from the InputStream.
Returns the next element in the iteration.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public JsonIterableInputConverter(java.lang.Class<E> targetClass)
targetClass can be any of the types listed below. All other types will be converted from
JSON by using a
targetClass- The class defining the objects being converted from JSON.
public E next()
public boolean hasNext()
trueif the iteration has more elements, in this case if there are more elements to be returned from the JSON Array that was read from the InputStream.
trueif there are more items available in the Iterator,
public java.util.Iterator<E> iterator()
next()method is called.