influxdata / influxdata/pbjson
float/double NaN/inf gets encoded to null in json
Open
- Dominant language
- Rust
- Stars
- 116
- Forks
- 55
- PR merge metrics
- No merged PRs in 30d
Description
Is should be encoded to "nan"/"Infinity": https://protobuf.dev/programming-guides/proto3/#json
Contributor guide
Research direction
No file or test is named. Start by reading the linked proto3 JSON mapping documentation and tracing how float and double values are serialized; done means NaN and infinity values encode as "nan" and "Infinity" rather than null.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100