Skip to content

Fixes JSON/YAML tags for XML attributes#147

Open
larspehrsson wants to merge 1 commit intofiorix:masterfrom
larspehrsson:remove_attr_from_json_and_yaml
Open

Fixes JSON/YAML tags for XML attributes#147
larspehrsson wants to merge 1 commit intofiorix:masterfrom
larspehrsson:remove_attr_from_json_and_yaml

Conversation

@larspehrsson
Copy link

Ensures the "attr" suffix is applied only to XML tags when generating fields for XML attributes. JSON and YAML tags now use plain field names and retain only "omitempty" where applicable.

Improves cross-format marshalling correctness and cleans up invalid/irrelevant tag options. Updates golden tests accordingly.

Ensures the "attr" suffix is applied only to XML tags when generating fields for XML attributes. JSON and YAML tags now use plain field names and retain only "omitempty" where applicable.

Improves cross-format marshalling correctness and cleans up invalid/irrelevant tag options. Updates golden tests accordingly.
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.

1 participant