Registry / serialization / avro4s-core-2-11

avro4s-core-2-11

JSON →
library2.0.2javamavenunverified

A Scala library for Avro serialization/deserialization with automatic schema generation from case classes.

<dependency> <groupId>com.sksamuel.avro4s</groupId> <artifactId>avro4s-core_2.11</artifactId> <version>2.0.2</version> </dependency>
INSTALL
IMPORT
SIG · AVRO4S-CORE-2-11
A
avro4s-core-2-11
serializationjavav2.0.2
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.

AvroSchema
com.sksamuel.avro4s.AvroSchema

Generate Avro schema from a case class

import com.sksamuel.avro4s.AvroSchema case class User(name: String, age: Int) val schema = AvroSchema[User]
Debug
Known issues
breakingVersion 2.0.2 is for Scala 2.11; use appropriate version for your Scala version.
fix
Use avro4s-core_2.12 or avro4s-core_2.13 for newer Scala versions.
affects: 2.0.x
Upgrade
Version history
2.0.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
avro4s-core-2-11 — mvn dependency:get avro4s-core-2-11 · libregistry