ScalaBuff alternatives and similar packages
Based on the "Serialization" category.
Alternatively, view ScalaBuff alternatives based on common mentions on social networks and blogs.
ScalaPB8.6 9.2 ScalaBuff VS ScalaPBProtocol buffer compiler for Scala.
Scrooge8.4 8.8 ScalaBuff VS ScroogeA Thrift parser/generator
Pickling8.0 0.0 ScalaBuff VS PicklingFast, customizable, boilerplate-free pickling support.
Chill7.9 7.5 ScalaBuff VS ChillScala extensions for the Kryo serialization library
Avro4s7.8 5.8 ScalaBuff VS Avro4sAvro schema generation and serialization / deserialization for Scala
scodec7.5 6.9 ScalaBuff VS scodecScala combinator library for working with binary data
µPickle7.4 7.3 ScalaBuff VS µPickleuPickle: a simple, fast, dependency-free JSON & Binary (MessagePack) serialization library for Scala
validation4.9 0.0 ScalaBuff VS validationAdvanced validation & serialization for JSON, HTML form data, etc, with no reflection at runtime.
msgpack3.7 0.0 ScalaBuff VS msgpackMessagePack serializer implementation for Scala / msgpack.org[Scala]
avro-codegen2.1 0.4 ScalaBuff VS avro-codegenCode generation from avro schemas to serialize/deserialize avro messages, no runtime reflection.
Clean code begins in your IDE with SonarLint
Do you think we are missing an alternative of ScalaBuff or a related project?
ScalaBuff is a Scala Protocol Buffers (protobuf) compiler. It takes .proto files and outputs valid Scala classes that can be used by your code to receive or send protobuf messages.
Both the ScalaBuff generator and the generated Scala classes depend on Google's Java runtime for Protocol Buffers, which is provided with ScalaBuff.
If you want to utilize ScalaBuff to generate your Scala classes from .proto sources, you'll need to either download the source or download the packaged JAR for your Scala version from the Sonatype OSS repository. If you download the sources, you can easily run it from SBT or by generating a fat Jar with sbt assembly:
$ sbt assembly $ java -jar target/scala-2.11/scalabuff-compiler-assembly-1.4.0.jar --proto_path=INPUT_DIR --scala_out=OUTPUT_DIR
If you just want to use ScalaBuff-generated classes in your SBT-managed project, here's the dependency to add (located on the Sonatype OSS repository):
"net.sandrogrzicic" %% "scalabuff-runtime" % "[desired_version]"
The latest release is 1.4.0 with support for Scala 2.10 and 2.11.
If you'd like to use SBT with ScalaBuff to auto-generate Scala protobuf classes from .proto sources, try the sbt-scalabuff project.
The ScalaBuff Wiki contains more information. For API documentation, see the project Scaladoc.
For any questions or general discussion, you can use the ScalaBuff Google Group but please feel free to create new issues for bug reports or feature requests. Thanks!