open-source-parsers / open-source-parsers/jsoncpp

Need 128bit unsigned. (supported by GCC)

Open
#1,035 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
8.9k
Forks
2.7k
Avg merge
31m
Merged PRs (30d)
1

Description

Greetings,

Is there a plan to support uint128_t? GCC has native 128bit unsigned integer support via __int128. I can try add it, but will need it to be upstreamed for good reasons. My use case is NETFLOW 9+ protocol can send 16byte length values in fields which I need to process into JSON. An example is IPV6 Address which needs stay in numeric form.

Thank you in advance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by locating the existing numeric JSON value and serialization entry points, then assess how GCC __int128 would represent NETFLOW 9+ 16-byte values and IPv6 addresses. Done means the support scope is defined and covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.