Skip to content

Conversation

@ghostsquad
Copy link

this change will attempt to unmarshal interface{}/any values into an ordered map before falling back to default behavior

resolves #54

@ghostsquad ghostsquad marked this pull request as draft October 26, 2025 21:53
@ghostsquad
Copy link
Author

I'm converting this to a draft... this needs some more testing

@ghostsquad
Copy link
Author

upon testing this in a different project, I've run into this error:

cannot unmarshal map[string]interface {} into Go value of type *orderedmap.OrderedMap[string,interface {}]

there's some more work to do it appears

@ghostsquad ghostsquad marked this pull request as ready for review October 27, 2025 00:49
@ghostsquad ghostsquad marked this pull request as draft October 27, 2025 00:50
this change will attempt to unmarshal `interface{}`/`any` values into an ordered map before falling back to default behavior

resolves wk8#54
@ghostsquad ghostsquad force-pushed the feat/unmarshal-into-ordered-maps branch from 1b4cab5 to 529c6a5 Compare October 27, 2025 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

json.Unmarshall doesn't use OrderedMap for nested structs

1 participant