Registry / serialization / jackson-dataformat-cbor

jackson-dataformat-cbor

JSON →
library2.22.0javamavenunverified

Support for reading and writing CBOR (Concise Binary Object Representation) encoded data using Jackson abstractions.

<dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-cbor</artifactId> <version>2.22.0</version> </dependency>
INSTALL
IMPORT
SIG · JACKSON-DATAFORMAT
J
jackson-dataformat-cbor
serializationjavav2.22.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CBORFactory
✓ com.fasterxml.jackson.dataformat.cbor.CBORFactory

Serializes a map to CBOR format using ObjectMapper with CBORFactory.

import com.fasterxml.jackson.dataformat.cbor.CBORFactory; import com.fasterxml.jackson.databind.ObjectMapper; public class Main { public static void main(String[] args) throws Exception { ObjectMapper mapper = new ObjectMapper(new CBORFactory()); byte[] cbor = mapper.writeValueAsBytes(new java.util.HashMap<>()); System.out.println(cbor.length); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.22.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
jackson-dataformat-cbor — mvn dependency:get jackson-dataformat-cbor · libregistry