Protocol buffer compiler for Scala. (by scalapb)


Basic ScalaPB repo stats
6 days ago

scalapb/ScalaPB is an open source project licensed under Apache License 2.0 which is an OSI approved license.

ScalaPB Alternatives

Similar projects and alternatives to ScalaPB based on common topics and language

  • GitHub repo jvm-serializers

    Benchmark comparing serialization libraries on the JVM

  • GitHub repo circe

    Yet another JSON library for Scala

  • GitHub repo Apache Avro

    Apache Avro is a data serialization system.

  • GitHub repo zio-json

    Fast, secure JSON library with tight ZIO integration.

  • 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

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better ScalaPB alternative or higher similarity.


Posts where ScalaPB has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-30.
  • Working with polymorphic data models in a REST API | 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.
  • Scala 3.0 serialization | 2021-03-30
    You could try out protocol buffers. Not sure how stable it is, but I noticed they have a Scala3 version of their runtime library. (Disclaimer: I have not tried it out myself)