Closed deankarn closed 3 years ago
I have a use case where the JSON is in []byte form.
[]byte
This PR adds support for both string and []byte writing to the JSONWriter to avoid the extra allocation to a string.
string
I have a use case where the JSON is in
[]byte
form.This PR adds support for both
string
and[]byte
writing to the JSONWriter to avoid the extra allocation to a string.