scala-newtype
NewTypes for Scala with no runtime overhead (by estatico)
scala-jsonschema
Scala JSON Schema (by andyglow)
scala-newtype | scala-jsonschema | |
---|---|---|
4 | 2 | |
539 | 119 | |
0.0% | - | |
0.0 | 7.6 | |
about 2 years ago | 26 days ago | |
Scala | Scala | |
Apache License 2.0 | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scala-newtype
Posts with mentions or reviews of scala-newtype.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-09-23.
-
Delphi 11 Alexandria Has Been Released
These are easily achived by this lib: https://github.com/estatico/scala-newtype Coq also can have even more advanced types.
-
Help with Single Value Validated Types
You want either a refined type, a newtype, or if you are in Scala 3 an opaque type.
-
Refine types
Newtype has a great Readme as well: https://github.com/estatico/scala-newtype
-
Readable Scala Style
If it's an option at all, I'd recommend using newtype for this.
scala-jsonschema
Posts with mentions or reviews of scala-jsonschema.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-16.
- Scala Library To Generate Case Classes for JSON
-
Refine types
Love the code generation idea if they already have the schema. It saves a ton of time,, and with a well-defined schema validates at the input boundary, which, if you don't modify the input afterwards, is usually good enough. It's a good suggestion. OP - link (https://github.com/andyglow/scala-jsonschema).
What are some alternatives?
When comparing scala-newtype and scala-jsonschema you can also consider the following projects:
Shapeless - Generic programming for Scala
kafka-manager - CMAK is a tool for managing Apache Kafka clusters
refined - Refinement types for Scala
guardrail - Principled code generation from OpenAPI specifications
ZIO - ZIO — A type-safe, composable library for async and concurrent programming in Scala
quicktype - Generate types and converters from JSON, Schema, and GraphQL
Apache Spark - Apache Spark - A unified analytics engine for large-scale data processing
Argus - Builds models from JSON Schemas
scala - Scala 2 compiler and standard library. Bugs at https://github.com/scala/bug; Scala 3 at https://github.com/scala/scala3