You can clone with
The writer is not passed to encode-stream*, causing a NullPointerExceptionhttps://github.com/dakrone/cheshire/blob/9b32e2e8038a7e6209e1453bd99ed83b9390acd6/src/cheshire/custom.clj#L74
I'll submit a pull request if this sits for a while, feel silly forking to add two characters.
You're right! I'll fix this immediately.
Okay, I've released 4.0.4 with this issue fixed, thanks for reporting it!