class JsonWriter {

    public void close() throws JsonException {
        try {
            writer.close();
        } catch (IOException e) {
            throw new JsonException(e.getMessage(), e);
        }
    }

    public  JsonWriter(Writer writer);
    public  JsonWriter(OutputStream out);

}