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

Set correct Json value in gNMI simulator #1799

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

ihrasko
Copy link
Collaborator

@ihrasko ihrasko commented Mar 20, 2024

Utilizing Gson to convert key values from
NodeIdentifierWithPredicates may produce unexpected outcomes if the key value is not parsable by Gson's default behavior. For instance, the result for Uint8(10) would be {"value":10} instead of simply 10.

Ensure custom ODL types are correctly parsed by Gson.

JIRA: LIGHTY-285
Signed-off-by: Peter Suna [email protected]
(cherry picked from commit fe6b307)

Utilizing Gson to convert key values from
NodeIdentifierWithPredicates may produce unexpected outcomes
if the key value is not parsable by Gson's default behavior.
For instance, the result for Uint8(10) would be {"value":10}
instead of simply 10.

Ensure custom ODL types are correctly parsed by Gson.

JIRA: LIGHTY-285
Signed-off-by: Peter Suna <[email protected]>
(cherry picked from commit fe6b307)
@ihrasko ihrasko merged commit 98e6317 into PANTHEONtech:18.x Mar 21, 2024
6 checks passed
@ihrasko ihrasko deleted the 18.x-set-correct-Json-value branch March 21, 2024 08:14
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