Slide 28
Slide 28 text
28
encoding/json/v2 package
● Marshal, Unmarshal
○ v1 の Marshal と Unmarshal とほぼ同じ
● MarshalWrite, UnmarshalRead
○ []byte の代わりに io.Writer と io.Reader を受け付ける
● MarshalEncode, UnmarshalDecode
○ *jsontext.Encoder と *jsontext.Decoder を受け付ける