Scala Serialization

Open-source Scala projects categorized as Serialization

Top 13 Scala Serialization Projects

  • GitHub repo ScalaPB

    Protocol buffer compiler for Scala.

    Project mention: Working with polymorphic data models in a REST API | reddit.com/r/scala | 2021-05-07

    One way I've solved this is to use Protobuf contracts to serialize json with ScalaPB. They have a way implementing oneof that keeps each object individual and separate. Even if you don't decide to use PB, you can take some inspiration from the implementation.

  • GitHub repo Scrooge

    A Thrift parser/generator

  • GitHub repo scodec

    Scala combinator library for working with binary data

  • GitHub repo Avro4s

    Avro schema generation and serialization / deserialization for Scala

  • GitHub repo Chill

    Scala extensions for the Kryo serialization library

  • GitHub repo µPickle

    uPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala

    Project mention: [help] Trouble with derivation and generics | reddit.com/r/scala | 2021-06-05

    A good starting point is the note in MacroImplicits.scala in upickle sources. "derives Writer" for a specific case class Foo simply adds a given Writer[Foo] to a companion object of the same specific class. However, this cannot be done automatically for a trait defining sum type - in this case trait Thing. The required given must be defined manually, and the ones automatically obtained for case classes can be used in it.

  • GitHub repo Airframe

    Essential Building Blocks for Scala

  • GitHub repo jsoniter-scala

    Scala macros for compile-time generation of safe and ultra-fast JSON codecs

    Project mention: Performance of 12 JSON parsers for Scala | reddit.com/r/scala | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo Play JSON

    The Play JSON library

    Project mention: Performance of 12 JSON parsers for Scala | reddit.com/r/scala | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo ScalaBuff

    the scala protocol buffers (protobuf) compiler

  • GitHub repo borer

    Efficient CBOR and JSON (de)serialization in Scala

    Project mention: Performance of 12 JSON parsers for Scala | reddit.com/r/scala | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo scala-commons

    AVSystem commons library for Scala

    Project mention: Performance of 12 JSON parsers for Scala | reddit.com/r/scala | 2021-03-29

    I've updated results of benchmarks of 12 JSON parsers for Scala: - AVSystem's scala-commons - Borer - Circe - DSL-JSON - Jackson - jsoniter-scala - Play-JSON, - play-json-jsoniter - Spray-JSON - uPickle - weePickle - zio-json

  • GitHub repo seals

    Tools for schema evolution and language-integrated schemata

    Project mention: Test for backwards-compatibility in a circe codec | reddit.com/r/scala | 2021-05-03

    You might find this useful/relevant: https://github.com/durban/seals/.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-05.

Index

What are some of the best open-source Serialization projects in Scala? This list will help you:

Project Stars
1 ScalaPB 1,092
2 Scrooge 731
3 scodec 721
4 Avro4s 600
5 Chill 566
6 µPickle 558
7 Airframe 464
8 jsoniter-scala 430
9 Play JSON 266
10 ScalaBuff 223
11 borer 140
12 scala-commons 75
13 seals 56