dblevins opened a new pull request, #89: URL: https://github.com/apache/johnzon/pull/89
If our intent is to optimize for small snippets and support JSONP implementations aside from Johnzon, we still need to fall back to doing the `flush()`. The only reason we were able to get rid of the `flush()` calls is because we added `Buffered` inside Johnzon. Other JSON-P implementations won't understand that interface and are likely to have their own buffering. In those situations we'll need to flush to ensure the SnippetWriter `terminate()` calls work. It's only for Johnzon that we can skip them. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
