users@jsonp.java.net

Re: JsonWriter is missing flush() method

From: Jitendra Kotamraju <jitendra.kotamraju_at_oracle.com>
Date: Thu, 31 Oct 2013 16:36:54 -0700

On 10/31/13 12:17 PM, Jitendra Kotamraju wrote:
> That should have worked esp when you are creating JsonWriter using a
> i/o Writer. JsonWriter.write() method writes all the contents to
> underlying writer. The recent releases don't use BufferedWriter. Are
> you using the latest version i.e. 1.3 or 1.4-SNAPSHOT ?
>
> But if you create JsonWriter with byte stream, then that doesn't work.
> Internally, it uses
I fixed this for byte streams also. So, JsonWriter#write methods would
write all the buffered contents to given output source.