### Question:
JsonpBuilder extends ContentBuilderBase<String> implements ContentBuilder<String> { @Override public String buildContent(Collection<Data> elements) throws BagriException { Writer writer = new StringWriter(); JsonGenerator stream = factory.createGenerator(writer); Deque<Data> dataStack = new LinkedList<>(); for (Data data: elements) { writeElement(dataStack, stream, data); } while (!dataStack.isEmpty()) { stream.writeEnd(); dataStack.pop(); } stream.flush(); String result = writer.toString(); try { writer.close(); } catch (IOException ex) { logger.info("buildString; exception closing stream: {}", ex.getMessage()); } return result; } JsonpBuilder(ModelManagement model); void init(Properties properties); @Override String buildContent(Collection<Data> elements);  }### Answer:
@Test public void testBuildPerson() throws Exception { ModelManagement model = new ModelManagementImpl(); JsonpParser parser = new JsonpParser(model); ParseResults results = parser.parse(json); List<Data> data = results.getResults(); System.out.println(data); assertNotNull(data); assertEquals(19, data.size()); JsonpBuilder builder = new JsonpBuilder(model); String content = builder.buildContent(data); System.out.println("content: " + content); assertNotNull(content); }