Closed alexandear closed 9 months ago
This PR renames MarshallJSON to MarshalJSON. See the json.Marshaler interface function MarshalJSON. Also, corrects the doc comment and adds error checking.
MarshallJSON
MarshalJSON
json.Marshaler
This PR renames
MarshallJSON
toMarshalJSON
. See thejson.Marshaler
interface functionMarshalJSON
. Also, corrects the doc comment and adds error checking.