public class UserModel {
@SerializedName("id")
public Integer id;
@SerializedName("name")
public String name;
@SerializedName("active")
public Boolean active;
}
FAQ
Does the Java Gson converter generate annotation-based field mappings?
Yes. Gson-oriented output includes field mapping support so JSON keys and Java property names stay aligned.
Is this route different from the standard Java class converter?
Yes. This route is optimized for Gson-oriented Java output rather than generic Java class scaffolding.