public ObjectInstanceWrapper [ ] readObjectInstances ( InputStream in ) throws ConversionException , IOException { JSONArray json = parseArray ( in ) ; ObjectInstanceWrapper [ ] ret = new ObjectInstanceWrapper [ json . size ( ) ] ; int pos = 0 ; for ( Object item : json ) { ret [ pos ++ ] = readObjectInstanceInternal ( item ) ; } return ret ; }
Decode a JSON document to retrieve an ObjectInstanceWrapper array .