• Clayton Coleman's avatar
    Provide a JSON and YAML serializer, and a versioning wrapper · 6b2f70d5
    Clayton Coleman authored
    Add a recognizer that is capable of sniffing content type from data by
    asking each serializer to try to decode - this is for a "universal
    decoder/deserializer" which can be used by client logic.
    
    Add codec factory, which provides the core primitives for content type
    negotiation. Codec factories depend only on schemes, serializers, and
    groupversion pairs.
    6b2f70d5
codec_factory.go 7.2 KB