mitchellh/mapstructure: Go library for decoding generic map values into native Go structures and vice versa.

6359
STARS
71
WATCHERS
607
FORKS
54
ISSUES

mapstructure's Language Statistics

mitchellh's Other Repos

Star history of mapstructure
Issue history of mapstructure

mapstructure Recent Issues

Issue Title State Comments Created Date Updated Date Closed Date
Pointers decoding inconsistency (and discussion) open 0 2022-10-27 2022-11-21 -
Wrong target type restriction when decoding struct to map open 1 2022-10-27 2022-11-21 -
Source data must be an array or slice, got string open 0 2022-10-19 2022-11-21 -
Unable to decode single-dimension json array open 0 2022-10-07 2022-11-21 -
Decode into map with case insensitive keys open 2 2022-09-17 2022-11-21 -
Proposal: add generic Unmarshaler interface open 1 2022-09-02 2022-11-21 -
Decode underscore value open 1 2022-08-21 2022-11-21 -
type time.Time Decode Error closed 1 2022-08-17 2022-11-21 2022-08-17
decode do not zero the field open 0 2022-08-10 2022-11-21 -
Calling "decode" from hooks open 1 2022-07-30 2022-11-21 -
How to decode the map with key containing hyphen (-) ? closed 4 2022-07-14 2022-11-21 2022-10-03
Is it possible to add `DecodeHook` with name? closed 0 2022-06-28 2022-11-21 2022-07-18
How to unmarshal object to specific struct based on value in that object? open 2 2022-06-24 2022-11-21 -
How to fix shadowing introduced by decodeBasic in v1.3.2? open 2 2022-05-30 2022-11-30 -
mapstructure fails to unmarshal when the type is string slice open 0 2022-05-29 2022-11-21 -
feat: squash with prefix open 0 2022-05-26 2022-11-21 -
omitempty, struct to map ok, map to struct error, I think I'm error closed 0 2022-05-17 2022-11-21 2022-05-17
Using mapstruct to update one value in the struct at a time open 0 2022-05-08 2022-11-21 -
Encode a struct with ",remain" back to a map? open 3 2022-04-07 2022-11-29 -
raise an error if mandatory field is missing, opposite logic to ErrorUnused closed 1 2022-03-07 2022-11-21 2022-04-20
Support Decode time.Time into string closed 5 2022-01-20 2022-11-21 2022-04-20
Failed to decode nested structure closed 3 2022-01-11 2022-11-21 2022-04-20
Renaming fields via json: directive closed 2 2022-01-03 2022-11-21 2022-01-12
Decoding Struct to Map with Embedded pointer to Struct closed 2 2021-12-30 2022-11-21 2022-04-20
panic when Decode's input is array and output is a slice closed 2 2021-12-22 2022-11-30 2022-04-20
does mapstructure not support key word `inline` like json tag closed 0 2021-12-08 2022-11-21 2021-12-09
Slice *Struct hold time.Time to Slice *Struct hold *time.Time closed 3 2021-11-19 2022-11-29 2022-04-20
Lowercase keys of resulting map without tags closed 2 2021-11-17 2022-11-30 2022-04-20
parse map(splice) to array (struct) fail, loss of fields(with _ split) closed 2 2021-10-18 2022-11-21 2022-04-20
DecodeHooks need to be added to DecoderConfig in Event.DecodeData closed 1 2021-09-27 2022-11-21 2022-04-20
Add post-decode hook open 1 2021-09-15 2022-11-30 -
support private nest struct closed 1 2021-07-31 2022-11-21 2021-07-31
Slice or Map not decoded open 1 2021-05-18 2022-11-21 -
fix typo in documentation closed 0 2021-05-04 2022-08-19 2021-09-14
DecodeHooks not called when decoding struct to map open 0 2021-04-30 2022-11-21 -
Data won't be bound when its json tag has an underscore closed 1 2021-04-14 2022-11-21 2021-04-14
Decode with options ? closed 2 2021-03-15 2022-11-21 2022-04-20
Override only NON nil values of Struct closed 1 2021-03-08 2022-11-30 2022-04-20
Platform-specific behavior when decoding a float value into a uint field open 1 2021-03-07 2022-11-21 -
Extract detailed error information open 2 2021-02-20 2022-11-21 -
Empty key name when decoding map from struct with only omitempty flag closed 1 2021-02-14 2022-11-21 2022-04-20
`remain` ? closed 1 2021-02-03 2022-01-13 2021-09-14
How to use mapstructure with google uuid open 7 2021-01-27 2022-11-21 -
feat: support squash embedded struct pointers on config open 1 2021-01-27 2022-11-21 -
Omitempty fields open 0 2021-01-25 2022-01-13 -
1.4.0: decode hooks receive the wrong type for the `to` argument closed 5 2021-01-12 2022-11-21 2021-01-12
Mapstructure doesn't decode json data when json key starts with @ closed 0 2021-01-08 2022-11-21 2021-01-08
Squash cause *time.Time set to zero closed 4 2021-01-05 2022-11-21 2021-01-12
Squash breaks assumptions about when DecodeHooks are called closed 5 2020-12-22 2022-11-29 2021-01-04
Allowed hook to skip the decode open 4 2020-12-17 2022-11-21 -