J

JsonSerializable

JetBrains

54e6de1d-41e6-49dc-be8d-fa9be212c934 · v—

Generates the code that JsonSerializable need to generate the .g.dart files 1. Open a .dart file 2. Alt + N (on mac) / Shift + Insert (Windows) 3. Select "Generate JsonSerializable" it will insert the json_annotation import the @JsonSerializable annotation the fromJson method the toJson method <a href="https

Code Tools
Open in store ↗ id: 12860
Downloads
11K
11 307
Rating
4.1 ★
3 ratings
Category
JetBrains Marketplace
Collected
2026-11-04
weekly snapshot

Rating distribution

4.1 ★ 3 ratings
4★ 66.7%
3★ 33.3%

Reviews 3

★★★★★ John Markham 2025-07-03

Very helpful. But on the factory generator for toJson(instance) in should be toJson(). It throws errors. Thanks

★★★★★ Mihail Ilinov 2021-05-13

Almost fine :) Map<String, dynamic> toJson(instance) the parameter instance in the generate code is not needed.

★★★★★ Morteza Rastgoo 2020-01-07

It needs some enhancement and features to be great

Similar in “Code Tools”