Tag: enum
-
How to map Enum Types to JSON requests in Spring Boot automatically?
Let’s say you have created a REST service which accepts a JSON request. And one of the attributes in the request can only have a range of constant values. For example , the departments an employee can belong to. And the best way to represent this , is to use an Enum. But will a…