cbor-java
kotlinx.serialization
cbor-java | kotlinx.serialization | |
---|---|---|
17 | 52 | |
116 | 5,105 | |
- | 0.8% | |
6.6 | 8.5 | |
10 days ago | 9 days ago | |
Java | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cbor-java
-
Amazon Ion Specification
What's the pros and cons of this versus CBOR, which we had great success with in our system.
https://cbor.io
-
Compressing GraphQL Global Node ID
CBOR (Concise Binary Object Representation) is a codec for small JSON object, similar to MessagePack but in the internet standard.
-
Why is json logging the “standard”?
JSON is a simple key=value pair representation. If you want to implement it by your hand with the same set of features (maps, lists, character escaping) then you will get something really similar. They are binary alternatives like https://cbor.io/ , but they are not popular for same reasons we use human readable representation of data for any other use case in programming
- RFC 8949 Concise Binary Object Representation
-
What’s everyone is using for framing and serialising data
CBOR
-
Alternatives to JSON and gjson as a document datastore?
Maybe this? http://cbor.io/ Haven't used it personally but I've read good things about it and the documentation makes sense.
-
go-cose: CBOR Object Signing and Encryption
go-cose is the Go implementation of COSE. COSE is a signing and encryption format based on the Concise Binary Object Representation format (CBOR). While inspired by the needs of the IoT community including fast processing on low-memory devices, the format is broadly applicable from small devices to large-scale server environments. COSE has incorporated lessons learned from Javascript Object Signing and Encryption (JOSE) efforts including JSON Web Signature (JWS) and JSON Web Token (JWT).
-
MQTT lightweight variable payload
Have a look at cbor, https://cbor.io/ It's very compact and works wonderfully for embedded devices. Works identical to Json but than for binary data.
-
JSON Storage Efficiency
You could also look into CBOR serialization format. It's less readable but it's much more efficient than JSON.
- CBOR – RFC 8949 Concise Binary Object Representation
kotlinx.serialization
-
How would I serialize a JSON primitive to a class?
Have you tried this:? https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/serializers.md
-
kotlinx-serialization won't serialize a List?
Regardless, I followed the documentation to register List for polymorphic serialization and my static code analysis does not seem to be happy with it.
-
Is rust serde unique?
I think kotlinx.serialization might come close, but looks like custom Encoders and Decoders are still experimental.
-
[Android/Multiplatform] Kotlin Flows + Ktor = Flawless HTTP requests (- ArrowKt)
This example will not work on a multiplatform project. you are using gson, gson runs only on jvm, you should use https://github.com/Kotlin/kotlinx.serialization for the json parsing
-
Why should I use kotlinx.serialization?
This is the issue to +1 https://github.com/Kotlin/kotlinx.serialization/issues/1931
- Generate Kotlin client for a complex web API
-
Question about app weight... I want to use Apache commons math3, should I fork it and "crop" it to reduce compile times and app weight?
Fun fact, kotlinx.serialization had a release just recently which makes it come with some bundled proguard rules to make this experience easier. Yes you'll still have issues if you're using things via reflection and try to serialize things that proguard deemed unused and removed them, but it's a step forward https://github.com/Kotlin/kotlinx.serialization/releases/tag/v1.5.0-RC
-
Modern Android Development in 2023
Kotlin Serialization
-
Apple's Swift rewrite of its Foundation framework will be open source
Kotlin Serialization is also a newer option, but doesn't have as much traction.
-
Jackson, moshi or kotlinx.serialization?
``` see the docs
What are some alternatives?
simd-json - Rust port of simdjson
jackson-module-kotlin - Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes.
plutus-starter - A starter project for Plutus apps
Moshi - A modern JSON library for Kotlin and Java.
Cap'n Proto - Cap'n Proto serialization/RPC system - core tools and C++ library
klaxon - A JSON parser for Kotlin
plutus-pioneer-program - This repository hosts the lectures of the Plutus Pioneers Program. This program is a training course that the IOG Education Team provides to recruit and train software developers in Plutus, the native smart contract language for the Cardano ecosystem.
Gson - A Java serialization/deserialization library to convert Java Objects into JSON and back
jsoniter - jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
spring-native - Spring Native is now superseded by Spring Boot 3 official native support
plutus - The Plutus language implementation and tools
kotlin-json - A JavaScript Object Notation library for Kotlin JVM.