Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate file using GsonFormat plugin in Android Studio

Here is the link http://api.rottentomatoes.com/api/public/v1.0/lists/movies/box_office.json?apikey=9htuhtcb4ymusd73d4z6jxcj

and I want to generate a file using GsonFormat plugin which is already installed on Android Studio. I'm using windows 7

like image 944
bizimunda Avatar asked Feb 08 '16 20:02

bizimunda


2 Answers

  1. Install GsonFormat plugin
  2. Generate a new class.
  3. in this new class, inside the body of the class, right click.
  4. in the menu that opens choose Generate.
  5. in the new menu that open choose GsonFormat.
like image 160
Gilad Zelniker Avatar answered Nov 04 '22 22:11

Gilad Zelniker


Follow the steps:

Android studio > Help > find actions

type "Plugin" in search bar > Search in repositories

install the required plugin. That's it.

like image 40
Sangeeta Avatar answered Nov 04 '22 23:11

Sangeeta