battermann/sbt-json
sbt plugin that generates Scala case classes for easy, statically typed and implicit access of JSON data e.g. from API responses
This is an sbt plugin for Scala developers that automatically generates Scala case classes directly from sample JSON data. You provide example JSON (from a file or URL), and it produces Scala types that allow you to work with that JSON in a structured, type-safe way within your Scala application. It is primarily used by Scala developers who need to integrate with JSON-based APIs or data sources.
No commits in the last 6 months.
Use this if you are a Scala developer frequently consuming JSON data from APIs or files and want to automatically generate corresponding Scala case classes to avoid manual boilerplate and ensure type safety.
Not ideal if you are not a Scala developer, or if you only occasionally work with very simple, stable JSON structures that are easy to map manually.
Stars
31
Forks
4
Language
Scala
License
MIT
Category
Last pushed
May 29, 2018
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/battermann/sbt-json"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
marcosschroh/dataclasses-avroschema
Generate avro schemas from python dataclasses, Pydantic models and Faust Records. Code...
sbt-dao-generator/sbt-dao-generator
code generator sbt plugin from database schema
twitter/scrooge
A Thrift parser/generator
GW2ToolBelt/api-generator
A library for creating programs that interface with data exposed by the official Guild Wars 2 API.
olafurpg/scala-db-codegen
Scala code/boilerplate generator from a db schema