Skip to content

json.Unmarshall doesn't use OrderedMap for nested structs #54

@palevi67

Description

@palevi67

Hi,

I have noticed that when I unmashall a json into an OrderedMap[string, any], internal structures are unmarshalled as map[string]any, so order is lost for internal fields ...

How can I overcome this problem?

I have writen a test case witch demonstrates this: om_test.go.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions