Is it possible to exclude fields from deserialization?

107 views Asked by At

I have Entity which contains some fields like id, name, address.

When creating a new entity form a rest call I want to deserializae received json (using flexjson) to the object. But I want to exclude the id field.

I know Serialize has the exclude option, but deserialize doesn't have it. Right?

0

There are 0 answers