Open krishnaduttPanchagnula opened 1 year ago
@Semior001 can you have a look at it.
Thank you for your contribution!
However, the whole idea of such a change request was to provide the consumer a way to marshal this type as a field in their custom types and transfer it over some protocols, not just to print it to stdout. The type must be marshallable with json.Marshal
and unmarshallable with json.Unmarshal
, for which it should implement MarshalJSON() ([]byte, error)
and UnmarshalJSON([]byte) error
methods.
Closes #4