src/main/java/com/amazonaws/hal/client/HalJsonArrayUnmarshaller.java
@Override
    public List<T> unmarshall(JsonUnmarshallerContext context)
            throws Exception {
        List<T> list = new ArrayList<>();
        JsonToken token = context.getCurrentToken();

        while (token != null && token != END_ARRAY) {
            if (token == JsonToken.START_OBJECT) {
                list.add(itemUnmarshaller.unmarshall(context));
            }

            token = context.nextToken();
        }

        return list;
    }
@Override
    public List<T> unmarshall(JsonUnmarshallerContext context)
            throws Exception {
        List<T> list = new ArrayList<>();
        JsonToken token = context.getCurrentToken();

        while (token != null && token != END_ARRAY) {
            if (token == JsonToken.START_OBJECT) {
                list.add(itemUnmarshaller.unmarshall(context));
            }

            token = context.nextToken();
        }

        return list;
    }
@ Override public List < T > unmarshall ( JsonUnmarshallerContext context ) throws Exception { List < T > list = new ArrayList <> ( ) ; JsonToken token = context . getCurrentToken ( ) ; while ( token != null && token != END_ARRAY ) { if ( token == JsonToken . START_OBJECT ) { list . add ( itemUnmarshaller . unmarshall ( context ) ) ; } token = context . nextToken ( ) ; } return list ; }
-------------------------------------------------------------
-------------------------------------------------------------