Saturday, August 13, 2022
Show HN: DAW JSON Link https://ift.tt/yXS3Jqx
Show HN: DAW JSON Link I just released v3 of DAW JSON Link https://ift.tt/BOYWr46 , a C++ JSON library, that I am the author of. It's a C++ JSON library that prioritizes concrete data structures. It is fast, GB/s, and competitive with other libraries out there like simdjson. A brief list of things it supports are: * declaratively map json objects to C++ data structures * allows allocators to be provided and passes it to allocator aware types * can parse via a non-owning json_value that allows JSON Path like indices along with iteration of sub members * types to provide iteration over json arrays and use in C++ algorithms * JSON Lines/NDJSON support * The parser does not allocate at all, that is up to the resulting data structures, if needed. The memory usage is very minimal * Variants/Sum types are a priority and most expressions of them in JSON have easy mappings with a fallback to code if needed * JSON Schema output from mappings * Custom number types are supported(e.g Boost Multi-precision/GNU MP) * Serialization to most things is supported out of the box with the ability to easily add a new way. This includes, pointer, output iterators, span like types, strings/vectors/containers of byte like types, FILE ... An accompanying project https://ift.tt/ebPdOpq that allows using Boost.Describe reflection like mappings with JSON Link * Lots of example code in tests folder and cookbook like documentation in the docs folder to see it in use. All the examples in documentation are part of the test suite too * Optionally allows for comments( # line comments and C-style // and /* /) Allows for trailing comma * constexpr https://ift.tt/BOYWr46 August 13, 2022 at 12:54AM
Subscribe to:
Post Comments (Atom)
Cybersecurity Career Week October 16-21, 2023
Join us in Observing Cybersecurity Career Week October 16-21, 2023 nist.gov/nice/ccw What is it? Cybersecurity Career Awareness Week is a ca...
-
Show HN: Dumbproxy – modern and simple HTTP(S) proxy https://ift.tt/3cVqvkq May 25, 2020 at 03:00AM
-
Show HN: A simple MSN Weather API wrapper https://ift.tt/3jeS0vi June 26, 2021 at 07:48AM
-
Show HN: TopSpace – Scroll above the top line in Emacs This is an Emacs minor mode I made in my spare time this past year. It lets you scrol...
No comments:
Post a Comment