Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>J2O - Json to Dart (freezed)New to Visual Studio Code? Get it now.
J2O - Json to Dart (freezed)

J2O - Json to Dart (freezed)

Balamurugan ( BalaDhruv )

|
263 installs
| (0) | Free
Json to Dart classes converter including freezed classes
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

logo

Discord Chat

Buy Me A Coffee

Introduction

This is the VS Code Extension to convert JSON to DART.

I am Lazy Freelance Flutter Developer who doesn't wanna create dart model class from JSON repeatedly. That's why I am building this extension to solve this problem.

Article

Refer the article to know about the extension.

Convert JSON to DART via VS Code Extension - Medium

Features

  1. Convert JSON into DART class
  2. Add Variable to existing freezed class.

How to Use

Convert JSON to DART
Json_to_dart_gif
Add Variable to Freezed Class
add_var_to_Freezed_gif

Special Words Explanations

Key Words Description
Null Safety create variable with Null(?)
Types Only Create class with variable declaration
Type Check To Check type of value before its use inside fromJson and toJson
@freezed To reduce hundreds of lines of code for implemeting constructor,coywith, toString, operator ==, hashCode and serialization .It is allowing to focus only on the definition of your model

Command Palette

Command Description
J20:JSON to DART Open editor for convert JSON

Upcoming Features

  1. Adding addinal methods for JSON conversion

Related Plugins

  1. Flutter Redux Gen (FRG) This is the VS Code Extension to generate Redux Code (State, Reducer, Middleware and Action)

Contact

Click here to add you comments and feedback

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft