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

[JsonGen] Add @extract keyword #61

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

sebaszm
Copy link
Contributor

@sebaszm sebaszm commented Dec 4, 2023

If an output iterator is marked as @extract and there is only one element in the list, then the resulting JSON element will omit the array (i.e. with no square brackets around).

Needs rdkcentral/Thunder#1462.

@sebaszm sebaszm requested a review from pwielders December 4, 2023 14:26
@pwielders pwielders merged commit 46663e0 into master Dec 6, 2023
16 checks passed
@pwielders pwielders deleted the development/jsongen-extract-from-array branch December 6, 2023 13:04
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.

2 participants