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

fix: make sure we can parse integers from JSON #1435

Merged
merged 2 commits into from
Dec 13, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

This commit ensures we can parse integer values provided using OONI Run v2 descriptors into actual integers.

Values are originally parsed as float64, so we need to add a specific conversion case for that scenario.

Diff extracted from: #1423

Closes ooni/probe#2645

This commit ensures we can parse integer values provided using
OONI Run v2 descriptors into actual integers.

Values are originally parsed as float64, so we need to add a
specific conversion case for that scenario.
@bassosimone bassosimone requested a review from hellais as a code owner December 13, 2023 15:29
@bassosimone bassosimone merged commit 86bea50 into master Dec 13, 2023
11 checks passed
@bassosimone bassosimone deleted the splintercon1 branch December 13, 2023 15:42
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This commit ensures we can parse integer values provided using OONI Run
v2 descriptors into actual integers.

Values are originally parsed as float64, so we need to add a specific
conversion case for that scenario.

Diff extracted from: ooni#1423

Closes ooni/probe#2645
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.

engine, miniooni: handle OONI Run v2 integer options
1 participant