Easy way to create a mapping class when using the API

Creating a mapping class for Android or iOS when the API specifications are fixed can be tedious.

The following two are often used. jsonschema2pojo jsonschema2pojo

WEB service that creates POJO (Plain Old Java Object) from json or json scheme

It can also be used as a command or gradle plugin.

joelittlejohn/jsonschema2pojo

JSONExport Ahmed-Ali/JSONExport

If you want a Mac-only app, JSON Export is recommended. You can also create Swift and Objective-C models

Other

If it is an in-house API, it is convenient because you can create it with Codegen if you define the API firmly with Swagger.

Reference: Easy management of RESTful API with Swagger

Recommended Posts

Easy way to create a mapping class when using the API
A story I was addicted to when testing the API using MockMVC
A memorandum when trying to create a GUI using JavaFX
How to create a jar file or war file using the jar command
Create a RESTful API service using Grape
Easy way to create JSP custom tags
[Java] How to get to the front of a specific string using the String class
I thought about the best way to create a ValueObject in Ruby
[Android] Inherit ImageView to create a new class
Let's create a REST API using WildFly Swarm.
[Rails] How to create a graph using lazy_high_charts
Easy way to create an implementation of java.util.stream.Stream
How to create a class that inherits class information
[Ruby] Sending a POST HTTP request to the Web API using OAuth authentication
When I wanted to create a method for Premium Friday, it was already in the Java 8 standard API
3. Create a database to access from the web module
How to get the class name of the argument of LoggerFactory.getLogger when using SLF4J in Java
Try to implement using Rakuten product search API (easy)
Create a login authentication screen using the session function
Failed to create the Java Virtual Machine when installing Eclipse.
When using the constructor of Java's Date class, the date advances by 1900.
How to create a form to select a date from the calendar
How to create a placeholder part to use in the IN clause
I want to create a form to select the [Rails] category
Create a method to return the tax rate in Java
A validation error occurred when saving to the intermediate table.
I want to give a class name to the select attribute
Mapping to a class with a value object in How to MyBatis
Create a MOB using the Minecraft Java Mythicmobs plugin | Preparation 1
How to play MIDI files using the Java Sound API
Easy to create Processing library
Create a fortune using Ruby
How to create a method
How to get the latest live stream ID for a channel without using the YouTube Data API
[Rails] How to convert the URI of the image sent by http to https when using Twitter API
I want to create a chat screen for the Swift chat app!
How to create a registration / update function where the table crosses
[Rails 6] How to create a dynamic form input screen using cocoon
Things to consider when running a specified job using Spring Batch
A good way to make a recursive function that reverses the characters
How to identify the path that is easy to make a mistake
How to solve the unknown error when using slf4j in Java
Create a calendar from the Calendar class by specifying the year and month
(Ruby on Rails6) Create a function to edit the posted content
Easy to understand the difference between Ruby instance method and class method.
[Rails 5] How to display the password change screen when using devise
[Android] Create a calendar using GridView
Create a Jetty project using Eclipse
Preparing to create a Rails application
[java8] To understand the Stream API
Create a tomcat project using Eclipse
How to use the wrapper class
[Rails] Easy way to check columns
Create a Java project using Eclipse
Create a filtering function using acts-as-taggable-on
A murmur about the utility class
Try to create a server-client app
Inexperienced create a weather app using OpenWeatherMap and deploy it to Netlify
How to create your own headless API using Liferay's REST Builder (Part 3)
How to create your own headless API using Liferay's REST Builder (Part 2)
Memorandum: What I was addicted to when I hit the accounting freee API