parserWrapper.nextFieldValue( "digest" );
parserWrapper.nextFieldValue( "length" );
long length = parserWrapper.getNumberValue().longValue();
parserWrapper.nextFieldValue( "stub" );
attachments.add( new CouchDoc.StubbedAttachment( new AttachmentId( attachmentId ), MediaType.valueOf( contentType ), length ) );
parserWrapper.nextToken( JsonToken.END_OBJECT );
}
parserWrapper.nextToken( JsonToken.END_OBJECT );
}