Scala Library To Generate Case Classes for JSON

This page summarizes the projects mentioned and recommended in the original post on /r/scala

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • circe

    Yet another JSON library for Scala

  • Argus

    Builds models from JSON Schemas (by aishfenton)

  • See Argus.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • circe-argus

    Temporary fork of Argus, for generating Scala models from JSON Schemas

  • Is dead. If anything, try at least this fork: https://github.com/circe/circe-argus

  • guardrail

    Principled code generation from OpenAPI specifications

  • You may have some luck with Guardrail https://github.com/guardrail-dev/guardrail/

  • scala-jsonschema

    Scala JSON Schema

  • quicktype

    Generate types and converters from JSON, Schema, and GraphQL

  • schema

    JSON schema for Vega and Vega-Lite (by vega)

  • I used it to generate case classes, Circe encoders and decoders for https://github.com/vega/schema

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • scala.meta

    Library to read, analyze, transform and generate Scala programs

  • I just wrote a small generator for a personal project using scalameta. It might be worth doing just for the learning experience, I thought it was a blast to use.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts