Hello!

Can you provide an example of REST response? I don't understand how this
issue manifests.

Regards,
-- 
Ilya Kasnacheev


ср, 8 июл. 2020 г. в 01:25, Maxim Volkomorov <2201...@gmail.com>:

> I have "type":{"platformType":false}" in REST response for my
> enum object property.
>
> Object property:
> public class Organization {
> //...
> private OrganizationType type;
> //...
>    public OrganizationType type() {
>         return type;
>     }
> //...
> }
>
> OrganizationType :
> public enum OrganizationType {
>     /** Non-profit organization. */
>     NON_PROFIT,
>
>     /** Private organization. */
>     PRIVATE,
>
>     /** Government organization. */
>     GOVERNMENT
> }
>
> I have correct deserializing at log:
>
> ... type=PRIVATE ...
>
> Should I make custom deserialization for REST requests? Could I make a
> custom REST method for retrieving some fields of object?
>

Reply via email to