Ross ROSS = Recommend OSS · open-source software intelligence for agents

google/json_serializable.dart

Generates utilities to aid in serializing to/from JSON. observed · 2026-08-28

github.com/google/json_serializable.dart · homepage · Dart · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

96/100

  • Activity 95
  • Release rhythm 95
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 27.0
  • age_days: 3333
  • days_rel: 34
  • days_push: 30
  • n_releases_24m: 23

Full methodology

Adoption not part of the score

1618 stars · 462 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Dart package that generates JSON serialization and deserialization code for Dart classes via annotations like @JsonSerializable and @JsonKey, using the Dart Build System (build_runner). It also includes _annotation for annotations, checked_yaml for better YAML decoding errors, and JsonLiteral/JsonEnum support.

Use cases

  • generate fromJson/toJson code for Dart classes
  • serialize and deserialize models to JSON in Flutter apps
  • customize JSON field names and defaults with annotations
  • generate JSON Schema from Dart classes
  • handle enum serialization to JSON values
  • load JSON files as Dart literals at build time
  • decode YAML with helpful error messages

When to avoid

  • your project is not Dart/Flutter
  • you prefer runtime reflection-based serialization
  • you need serialization formats other than JSON/YAML
  • you cannot use build_runner code generation in your workflow

Facets

library · maturity active

serialization parser developer-tools developer-tools web-development mobile-development cross-platform cross-platform cli dart flutter codegen build-runner source-gen -annotation -schema mobile web-server

10 sources

Member repositories

RepositoryRoleHealth v2
google/json_serializable.dartmain96

For agents

markdown · JSON · MCP: product_card(name="google/json_serializable.dart")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem