As the name indicates, separator is only used between values, and there is no option to force it in the end. I don't know how easy it'd be to add an option to also add separator before `close()`; may be worth filing an issue.
However, you should be able to write this into output stream through Jackson API. Methods `writeRaw()` and `writeRawValue()` might both work for this particular purpose: if using `writeRaw()`, you would write separator String itself; if using `writeRawValue()`, I think you would try to write empty String as it would add separator before (since call implies that you are writing a pre-encoded JSON value and thereby a separator is needed).
-+ Tatu +-