Skip to content

Deserialize avro messages to JSON and preserve field order #209

@weeco

Description

@weeco

Hey,
is it possible to deserialize an avro message to a JSON / text format which also preserves the order of the fields as defined in the avro schema? Currently I unmarshal the avro message to an interface{} and then I apply json.Unmarshal() on it which works fine, but the fields are ordered alphabetically rather than in the order as defined in the schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions