public ListStreamsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListStreamsResult listStreamsResult = new ListStreamsResult();
public ListStreamsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListStreamsResult listStreamsResult = new ListStreamsResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("StreamNames")) { listStreamsResult.setStreamNames(new ListUnmarshaller<String>( StringJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("HasMoreStreams")) { listStreamsResult.setHasMoreStreams(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listStreamsResult; }
public ListStreamsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListStreamsResult listStreamsResult = new ListStreamsResult();