public class StreamingJsonSelectorView extends AbstractYogaView
{
@Override
protected void render(Object value, YogaRequestContext context, OutputStream os) throws Exception
{
GeneratorAdapter generator = JacksonLibraryUtil.selectGeneratorAdapter(os);
HierarchicalModel<GeneratorAdapter> model = createModel( value, generator );
_resultTraverser.traverse( value, context.getSelector(), model, context );
model.getUnderlyingModel().close();
}