SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 CBOR Open-Source Projects
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jsoncons
A C++, header-only library for constructing JSON and JSON-like data formats, with JSON Pointer, JSON Patch, JSON Schema, JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
-
cbor
CBOR codec (RFC 8949) with CBOR tags, Go struct tags (toarray, keyasint, omitempty), float64/32/16, big.Int, and fuzz tested billions of execs.
-
jackson-module-scala
Add-on module for Jackson (https://github.com/FasterXML/jackson) to support Scala-specific datatypes
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
libxo
The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
-
QCBOR
Comprehensive, powerful, commercial-quality CBOR encoder/ decoder that is still suited for small devices.
-
Kripton Persistence Library
A Java/Kotlin library for Android platform, to manage bean's persistence in SQLite, SharedPreferences, JSON, XML, Properties, Yaml, CBOR.
-
eudcc-decoder
React application that scans, decodes and validates EU Digital COVID-19 certificates, all in the browser.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
I have not done a "desktop" program in 25+ years and never using C++ (or C), since then I'm mostly a web developer (PHP,Elixir, JS, Kotlin etc).
I'm currently doing a C++ audio plugin with the Juce framework.
This website has been a good resource, alongside 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 born in previous c++ version), but this library is GREAT.
- ChatGPT 4. I'm not sure I would have "succeeded" without it, at least not in a reasonable time frame. ChatGPT 3.5 is slow and does not give good results for my use case but 4 is impressive. And I use in a very dumb way, just posing question in the web UI. I probably could have it directly in MSVC?
Also I must say, for all its flaws, I have a renewed appreciation for doing UI on the web ;)
Have you tried this:? https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md
On the other hand, I'd like to bring in the json library of my choice, e.g. https://github.com/nlohmann/json or https://github.com/danielaparker/jsoncons. So I'd prefer the web server library provides as little as possible in the way of Json support, and certainly doesn't get in the way of using my library of choice. Similarly, I'd like to use my choice of automatic object serialization.
Someone made a benchmark of serialization libraries in go [1], and I was surprised to see gobs is one of the slowest ones, specially for decoding. I suspect part of the reason is that the API doesn't not allow reusing decoders [2]. From my explorations it seems like both JSON [3], message-pack [4] and CBOR [5] are better alternatives.
By the way, in Go there are a like a million JSON encoders because a lot of things in the std library are not really coded for maximum performance but more for easy of usage, it seems. Perhaps this is the right balance for certain things (ex: the http library, see [6]).
There are also a bunch of libraries that allow you to modify a JSON file "in place", without having to fully deserialize into structs (ex: GJSON/SJSON [7] [8]). This sounds very convenient and more efficient that fully de/serializing if we just need to change the data a little.
--
1: https://github.com/alecthomas/go_serialization_benchmarks
2: https://github.com/golang/go/issues/29766#issuecomment-45492...
--
3: https://github.com/goccy/go-json
4: https://github.com/vmihailenco/msgpack
5: https://github.com/fxamacker/cbor
--
6: https://github.com/valyala/fasthttp#faq
--
7: https://github.com/tidwall/gjson
8: https://github.com/tidwall/sjson
Project mention: Looking for Open-source web app back-end repository written in Golang | /r/golang | 2023-12-08Project using APIBin for examples https://rest.sh
The other comment is asking the right questions. But also how is it failing? Do you have an error message? Is JsonUtil part of Jackson? Do you need to be using https://github.com/fasterxml/jackson-module-scala with an object mapper?
Project mention: jc: Converts the output of popular command-line tools to JSON | news.ycombinator.com | 2023-12-08> In FreeBSD, this problem was solved with libxo[0]:
Libxo happens to be in the base system, but it is generally available:
* https://github.com/Juniper/libxo
* https://libxo.readthedocs.io/en/latest/
Project mention: ΜON – a compact and simple binary object notation | news.ycombinator.com | 2024-03-15
CBOR related posts
- ΜON – a compact and simple binary object notation
- ΜON – a compact and simple binary object notation
- JSON for Modern C++ 3.11.3 (first release since 473 days)
- How would I serialize a JSON primitive to a class?
- kotlinx-serialization won't serialize a List?
- What is the best way to store data?
- It is either a clever technique or a sad failure
-
A note from our sponsor - SaaSHub
www.saashub.com | 26 Apr 2024
Index
What are some of the best open-source CBOR projects? This list will help you:
Project | Stars | |
---|---|---|
1 | json | 40,239 |
2 | kotlinx.serialization | 5,099 |
3 | TreeFrog Framework | 1,256 |
4 | jsoncons | 667 |
5 | cbor | 659 |
6 | restish | 640 |
7 | jackson-module-scala | 495 |
8 | tinycbor | 464 |
9 | libxo | 302 |
10 | muon | 241 |
11 | borer | 218 |
12 | QCBOR | 171 |
13 | fs2-data | 140 |
14 | rust-cbor | 127 |
15 | Kripton Persistence Library | 119 |
16 | CBORCoding | 46 |
17 | NanoCBOR | 45 |
18 | cbor | 36 |
19 | eudcc-decoder | 21 |
20 | cbor | 13 |
21 | cppbor | 9 |
22 | apibin | 3 |
23 | python-ard | 1 |
Sponsored