question: public static List < ObjectModel > loadJsonStream ( InputStream input ) { List < ObjectModel > models = new ArrayList < > ( ) ; Reader reader = new InputStreamReader ( input ) ; ObjectModel [ ] objectModels = GSON . fromJson ( reader , ObjectModel [ ] . class ) ; for ( ObjectModel objectModel : objectModels ) { models . add ( objectModel ) ; } return models ; }
target:  Load object definitions from JSON stream.