Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Registered Python codecs provide a fluent and natural way to convert between object and serialized (particularly as-binary) data. Avro should provide two codec implementations:
- Static encode and decode, that encodes native Python objects (lists, dicts, and primitive scalars) and infer the schema from the data itself, producing a binary string containing the schema and the encoded data.
- A solution for registering a Schema into the Python codec registry, so that codec.encode/decode can convert objects into Avro binary for that schema.