001package io.avaje.json.stream; 002 003import io.avaje.json.JsonWriter; 004 005/** 006 * JsonWriter optimised for returning json as byte array. 007 */ 008public interface BytesJsonWriter extends JsonWriter { 009 010 /** 011 * Return the json result as byte array. 012 */ 013 byte[] result(); 014}