write ===== .. currentmodule:: ams.io.json .. autofunction:: write