创建FieldsDictSerde,用来序列化、反序列化有指定字段的字典。 因为字段已知,则key无需序列化,序列化出来的数据会小于marshal序列化后的结果。 Args: fields_to_types: 可以传入一个字段名组成的列表, 也可以传入一个key是字段名,value是相应字段所用的serde的dict。 如果只传入字段名,则表示所有类型都是可被marshal序列化的类型。 Returns: 相应的序列化器。
(fields_dict)
source not stored for this graph (policy: none)
no test coverage detected