Skip to content

feat: support to decode array and map - #29

Open
fungaren wants to merge 2 commits into
pauloavelar:mainfrom
fungaren:decode-array-and-map
Open

feat: support to decode array and map#29
fungaren wants to merge 2 commits into
pauloavelar:mainfrom
fungaren:decode-array-and-map

Conversation

@fungaren

@fungaren fungaren commented Jun 20, 2023

Copy link
Copy Markdown

Add GetVariantArray to parse the value as an array.
All nodes in the array have individual tag.

Add GetArray to parse the value as an array.
All nodes in the array have the same tag.

Add GetVariantStringMap to parse the value as an key-value pair,
the key type is string and each item have individual tag.

Add GetStringMap to parse the value as an key-value pair,
the key type is string and each item have the same tag.

Summary

Describe the changes and fixes, or link to an existing issue.

Checklist

  • I have added code related to the library scope that does not focus on a specific use case.
  • I have not added a new dependency, or the code owners have agreed to it.
  • I have written tests for the new code, or the existing tests cover it completely.
  • I have not added // nolint comments to the code to fix linter issues.
  • I have not changed configuration files (CI, lint, templates, etc) without authorization.

fungaren added 2 commits June 20, 2023 21:24
Add GetVariantArray to parse the value as an array.
All nodes in the array have individual tag.

Add GetArray to parse the value as an array.
All nodes in the array have the same tag.

Add GetStringMap to parse the value as an key-value pair,
and the key type is string.
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