Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

item_wrap for str and int #93

Closed
jgroom33 opened this issue Dec 16, 2021 · 0 comments · Fixed by #94
Closed

item_wrap for str and int #93

jgroom33 opened this issue Dec 16, 2021 · 0 comments · Fixed by #94

Comments

@jgroom33
Copy link
Contributor

item_wrap=False currently only supports list of dict

It should also support list of str and int

Input:

{"my_str_items":["a","b"]}

item_wrap=False output:

<all>
  <my_str_items type="list">
    <item type="str">a</item>
    <item type="str">b</item>
  </my_str_items>
</all>

item_wrap=True output:

<all>
  <my_str_items>a</my_str_items>
  <my_str_items>b</my_str_items>
</all>
vinitkumar pushed a commit that referenced this issue Dec 18, 2021
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 a pull request may close this issue.

1 participant