When implementing the NomenclatureDetailAdapter.write(JsonWriter, NomenclatureDetail), should the JsonWriter be closed or is that the responsibility of Gson to perform this action. I have not been able to find any documentation on this and the examples do not show it, but generally writers as closed. I am a bit unsure on this because if the type adapter implementation is responsible for closing it, then it would significantly complicate custom type adapters and nesting.