viettrungluu / umsgpack

A tiny (micro), simple implementation of MessagePack. / msgpack.org[Go]
MIT License
0 stars 0 forks source link

UnresolvedExtensionType should implement MarshalJSON (and maybe also MarshalBinary and MarshalText) #6

Open viettrungluu opened 2 weeks ago

viettrungluu commented 2 weeks ago

UnresolvedExtensionType should implement MarshalJSON (and maybe also MarshalBinary and MarshalText), so that the output of unmarshalling can be JSON-marshallable. (time.Time implements these, and everything else is JSON-marshallable.)

viettrungluu commented 2 weeks ago

Also the unmarshal counterparts.