class ObjectEntryWriter implements AutoCloseable {

    public void write(ObjectEntry objectEntry) throws IOException {
        ParametersChecker.checkParameter("");
        ensureNotClosed();
        ensureNotEof();
        if (!isEmpty) {
            writer.append("\n");
        }
        isEmpty = false;
        writer.write(JsonHandler.unprettyPrint(objectEntry));
    }

    public  ObjectEntryWriter(OutputStream ouputStream);

}