---
# System prepended metadata

title: 'GsonFormat Plugin: Make Models easier'
tags: [Android Studio Tool]

---

# GsonFormat Plugin: Make Models easier
###### tags: `Android Studio Tool`
[TOC]

### GsonFormat Plugin: Turn Json into model files in Android Studio

>**Windows:**
1. File
2. Settings
3. Plugins
4. Browse repositories
5. Search for “GsonFormat”
6. Install Plugin


>**MacOs:**
1. Preferences
2. Settings
3. Plugins
4. Browse repositories
5. Search for “GsonFormat”
6. Install Plugin

#### How to use GsonFormat Plugin?
1. Right Click
2. Generate GsonFormat
3. Paste Json Format
4. Format and done!

**Note:**
Can check how to do it in below link:
https://emre1512.github.io/Easily-generate-JSON-model-from-JSON-string-using-GsonFormat/

### JSON Annotation Tool Plugin: Used to serialize  Models 
If used you will get your models like below:
```java===
//Before Serialization
private String value;
private String onclick;

//After Serialization
@SerializedName("value")
private String value;
@SerializedName("onclick")
private String onclick;
```
#### How to use JSON Annotation Tool Plugin?
1. Right Click
2. Generate "Add Gson SerializedName"