Hacker GitHub

← All repos

nlohmann/json

View on GitHub ↗ ★ 50,834 C++

JSON for Modern C++

38 mentions on Hacker News by 32 people: 14 stories, 24 comments · first 2015-01-04 · latest 2025-05-17

Mentions per year 38 mentions · busiest year 2017 (5)
20082026
  1. …["pthread", "dl"] ` Dependency Management Add a Git repo directly: [dependencies] json = { git = " https://github.com/nlohmann/json.git ", tag = "v3.11.2" } Or use a local path: [dependencies] mylib = { path = "../mylib" } Zyn will lock…
    comment by zyntraxis · 2025-05-17
  2. ▲ 2
    JSON for Modern C++ 3.12.0 released
    story by nlohmann · 2025-04-11 · 0 comments
  3. nlohmann::json also does msgpack and is header-only, and it's the most popular JSON lib for C++ https://github.com/nlohmann/json?tab=readme-ov-file#design-g...
  4. ▲ 2
    JSON: A Modern C++ Library for Intuitive JSON Handling
    story by Innovify · 2024-08-14 · 0 comments
  5. …nostalgia survives the process. I have used this library in the past and was actually pretty easy https://github.com/nlohmann/json
  6. https://github.com/nlohmann/json I used this for JSON last time I wrote any C++ a few years ago and it still seems popular. It seemed sane enough to me.
    comment by sublinear · 2024-01-27 · in Sane C++ Libraries
  7. …https://www.learncpp.com But I was actually close to give up before using those two things: - https://github.com/nlohmann/json : my plugin use a json api backend and the Juce json implementation is atrocious (apparently because of being…
    comment by conradfr · 2023-12-26 · in Learn Modern C++
  8. How does it compare to the immensely popular JSON for Modern C++ library by nlohmann? https://github.com/nlohmann/json Also, you should add your library to the JSON benchmarks here: https://github.com/miloyip/nativejson-benchmark#parsing-ti…
    comment by techie2022 · 2022-08-13 · in Show HN: DAW JSON Link
  9. In C++ you get the great https://github.com/nlohmann/json In Rust you have the amazing serde with serde_json but at this point, you can use toml which is also based on serde. I consider serde as being standard. In C you have the lib jason…
  10. …than modern C++ monstrosities like this [1]. [0] http://www.netlib.org/lapack/lug/node24.html [1] https://github.com/nlohmann/json
    comment by qayxc · 2022-01-12 · in Is the madness ever going to end?
  11. Uh, it has plenty of methods for more compact encodings? https://github.com/nlohmann/json#binary-formats-bson-cbor-me...
    comment by tsbinz · 2021-08-19 · in JSON for Modern C++ version 3.10.0
  12. https://github.com/nlohmann/json
    comment by mivade · 2021-08-18 · in Time to retire the CSV?
  13. ▲ 134
    JSON for Modern C++ version 3.10.0
    story by codewiz · 2021-08-18 · 101 comments
  14. https://github.com/nlohmann/json/blob/c215b77936591d4fe0aa0a...
  15. The first C++ JSON library that appears when you google it is a single header file. https://github.com/nlohmann/json I know because I used it years ago in school. One of the fastest libraries ( https://github.com/miloyip/nativejson-benchmar…
    comment by bleachisback · 2021-03-02 · in How I cut GTA Online loading times by 70%
  16. The JSON library is impressive: https://github.com/nlohmann/json#examples
    comment by giancarlostoro · 2020-10-28 · in Ask HN: Good C++ code bases to read?
  17. …C++17/C++20 repositories: https://github.com/hanickadot/compile-time-regular-expressio... https://github.com/nlohmann/json If you've not written C++ code before, it can take a while to catch up with the latest developments in C++23. Start…
    comment by artagnon · 2020-10-28 · in Ask HN: Good C++ code bases to read?
  18. …internal API that is more testable (i.e. allows injection, etc.) or whatever is another matter. [0] https://github.com/nlohmann/json
  19. ▲ 2
    JSON does not preserve insertion order
    story by RocketSyntax · 2020-02-16 · 0 comments
  20. ▲ 189
    JSON for Modern C++
    story by gballan · 2019-09-29 · 121 comments
  21. Shameless self-plug: JSON for Modern C++ ( https://github.com/nlohmann/json ) supports CBOR along MessagePack, UBJSON, and BSON, see https://github.com/nlohmann/json#binary-formats-bson-cbor-me... .
  22. …succinct with the newer versions especially when dealing with web related stuff. In addition, the https://github.com/nlohmann/json lib make json just work. No one seems to get that the C++ still works and in nearly all cases is faster,…
    comment by drenvuk · 2019-03-12 · in A JavaScript-Free Front End
  23. …into ClusterFuzz/oss-fuzz. Feel free to get in touch if you have any questions or need help. [1] https://github.com/nlohmann/json/blob/develop/test/src/fuzze... [2] https://github.com/guidovranken/libfuzzer-gv [3]…
    comment by guidovranken · 2019-02-07 · in Open-Sourcing ClusterFuzz
  24. ▲ 3
    JSON for Modern C++ 3.4.0 now supports BSON
    story by starbugs · 2018-10-31 · 0 comments
  25. …modified cpp example, along with state machine https://github.com/jorisvink/kore json library https://github.com/nlohmann/json wrk, post with json payload via lua post script https://github.com/wg/wrk
    comment by drenvuk · 2018-09-08 · in GRPC and JSON
  26. …them. Once the file is parsed you can feed it into any regular JSON parser (personally I'm a fan of https://github.com/nlohmann/json ). Using JSMin would have been a much better idea. At this point though the only downside is that I…
  27. …I happened to come across this decoder again recently in Niels Lohmann's JSON library for C++: https://github.com/nlohmann/json I see that this is mentioned in a previous post: https://lemire.me/blog/2018/05/09/how-quickly-can-you-check-...…
  28. ▲ 3
    JSON for Modern C++
    story by juanpabloaj · 2017-12-18 · 0 comments
  29. ▲ 3
    JSON for Modern C++ version 3.0.0 released
    story by nlohmann · 2017-12-17 · 1 comment
  30. ▲ 3
    JSON for Modern C++
    story by dhotson · 2017-09-27 · 0 comments
  31. In terms of pure syntactic sugar/ease of use, it's hard to beat nlohmann/json: https://github.com/nlohmann/json It may not be as fast as these other guys but it's sure as heck a lot more intuitive and convenient. For casual JSON usage…
    comment by ythn · 2017-05-26 · in Writing a Fast JSON Parser
  32. …is close (until runtime) to the experience I'd expect from ocaml and other functional languages. https://github.com/nlohmann/json
    comment by hedora · 2017-02-06 · in In Defense of C++
  33. ▲ 2
    C++ 11: A single header solution for seamless json
    story by setra · 2016-12-08 · 0 comments
  34. ▲ 1
    JSON for Modern C++ v2.0.0 – JSON Pointer, JSON Patch and More
    story by nlohmann · 2016-06-23 · 0 comments
  35. ▲ 3
    JSON for Modern C++
    story by ingve · 2016-02-19 · 0 comments
  36. Take a look at JSON for Modern C++: https://github.com/nlohmann/json Perhaps this example (benchmark, actually) is close enough: https://github.com/nlohmann/json/blob/master/benchmarks/benc... Note that the above also performs…
  37. ▲ 3
    JSON for Modern C++ – finally version 1.0.0
    story by nlohmann · 2015-12-28 · 0 comments
  38. ▲ 6
    JSON for Modern C++ – What if JSON was part of modern C++?
    story by nlohmann · 2015-01-04 · 0 comments