|
|
@@ -102,8 +102,8 @@ Custom Encoding and Decoding
|
|
|
This package maintains symmetry in the encoding and decoding halfs.
|
|
|
We determine how to encode or decode by walking this decision tree
|
|
|
|
|
|
- - is type a codec.Selfer?
|
|
|
- is there an extension registered for the type?
|
|
|
+ - is type a codec.Selfer?
|
|
|
- is format binary, and is type a encoding.BinaryMarshaler and BinaryUnmarshaler?
|
|
|
- is format specifically json, and is type a encoding/json.Marshaler and Unmarshaler?
|
|
|
- is format text-based, and type an encoding.TextMarshaler and TextUnmarshaler?
|
|
|
@@ -224,5 +224,3 @@ with some caveats. See Encode documentation.
|
|
|
|
|
|
*/
|
|
|
package codec
|
|
|
-
|
|
|
-//
|