Is it possible to exclude fields from deserialization?

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?

Answers


Need Your Help

Could not start release with rebar generate epgsql

postgresql erlang rebar

When i generate release application with rebar and try start it with key console i have error

Iphone: save chekmark position in Check List

iphone objective-c ios uitableview nsuserdefaults

Trying to implement settings in my app. What I need is a check list. I used

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.