returns the json representation of these docs . a category may be passed to have impact on the content enrichers concode_field_sep JsonFactory factory concode_elem_sep ContentEnricherService rcs concode_elem_sep CoreSession session concode_elem_sep String[] NO_SCHEMA concode_elem_sep String[] ALL_SCHEMAS concode_field_sep HttpHeaders getFakeHeaders concode_elem_sep HttpHeaders getFakeHeaders concode_elem_sep void assertEqualsJson concode_elem_sep JsonNode parseJson concode_elem_sep JsonNode parseJson concode_elem_sep String getDocumentAsJson concode_elem_sep String getDocumentAsJson concode_elem_sep JsonGenerator getJsonGenerator concode_elem_sep String getFullDocumentAsJson
String function ( List < DocumentModel > arg0 , String arg1 ) { ByteArrayOutputStream loc0 = new ByteArrayOutputStream ( ) ; JsonGenerator loc1 = getJsonGenerator ( loc0 ) ; JsonDocumentListWriter . writeDocuments ( loc1 , arg0 , NO_SCHEMA , getFakeHeaders ( arg1 ) , null ) ; loc1 . flush ( ) ; return loc0 . toString ( ) ; }