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

Generate JSON actions and keys fields array even when they are empty #5022

Merged
merged 2 commits into from
Nov 20, 2024

Conversation

vbnogueira
Copy link
Contributor

Generate JSON actions, keys fields array even when they are empty
Also generate keysize = 0 whenever the keysize is zero instead of
omitting it from the JSON file

@vbnogueira vbnogueira force-pushed the fix_empty_json_fields branch from 6d26180 to 8a3adba Compare November 19, 2024 16:46
Generate JSON actions, keys fields array even when they are empty
Also generate keysize = 0 whenever the keysize is zero instead of
omitting it from the JSON

Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
@vbnogueira vbnogueira force-pushed the fix_empty_json_fields branch from 8a3adba to ad7d0a4 Compare November 19, 2024 16:47
@vbnogueira
Copy link
Contributor Author

@komaljai please take a look when you have some time

@fruffy fruffy added the p4tc Topics related to the P4-TC back end label Nov 20, 2024
@komaljai komaljai added this pull request to the merge queue Nov 20, 2024
Merged via the queue into p4lang:main with commit 8273608 Nov 20, 2024
20 checks passed
@vbnogueira vbnogueira deleted the fix_empty_json_fields branch November 20, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4tc Topics related to the P4-TC back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants