I have a data class which has a property named isActive. When it gets returned as json the result is empty, but when I change it to active it works. Is there a way to fix it without changing the name?
When I asked chatgpt it said to use @JsonProperty, I tried that but it doesn't work
data class ResponseResult(
@JsonProperty("isActive")
val isActive: String
)