Then In such cases JsonProperty annotation is neeeded. Nonetheless for those who also have a method in the class course Circle // The radius industry non-public double radius; public Circle(double radius) this.radius = radius; // The radius property general public double getRadius() return radius; general public void setRadius(double radius) // https://smartworlddeveloper.co.in/