212213214215216217218219220221222
} revision = (revNode != null) ? revNode.asText() : null; } // Create the document documentList.add(new TextDocument( id, revision, jsonKey, content ));
121122123124125126127128129130131
// We have what we needed, stop parsing. break; } } return new TextDocument(documentId, revision, null, json); } } catch (IOException e) { throw new CouchJsonException(e); } }
183184185186187188189190191192193