title: How to use RoboPOJOGenerator to automatically generate model class from Json in Android Studio
body: <p>I will share a way to generate class from Json in Android.</p>
  
  <blockquote>
    <p><strong>Generate Java and Kotlin POJO files from JSON: GSON, AutoValue, Logan Square, FastJSON, Jackson, Moshi, empty annotations template. Supports: primitive types, multiple inner JSONArrays.</strong></p>
  </blockquote>
  
  <p>This is a demo:</p>
  
  <p><a href="https://i.stack.imgur.com/WeO7k.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/WeO7k.gif" alt="enter image description here"></a></p>
  
  <p>You can download it from :
  <strong>"Preferences" -> "Plugins" -> "Browse Repositories" -> "RoboPOJOGenerator"</strong><a href="https://i.stack.imgur.com/QpT9a.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QpT9a.png" alt="enter image description here"></a></p>
  
  <p>And how to use:</p>
  
  <p><a href="https://i.stack.imgur.com/ptbQb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ptbQb.png" alt="enter image description here"></a></p>
  
  <p>And you paste you json to popup and choose parser type:</p>
  
  <p><a href="https://i.stack.imgur.com/hn6v4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hn6v4.png" alt="enter image description here"></a></p>
  
  <p>And click generate, it will gen class from json for you!</p>
  
  <p><a href="https://i.stack.imgur.com/GwpiO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GwpiO.png" alt="enter image description here"></a></p>
  
  <p>I hope it can help you to save many time!</p>