FluentJson.NET icon indicating copy to clipboard operation
FluentJson.NET copied to clipboard

DataContract & JsonIgnore attributes are ignored

Open tfxterry opened this issue 12 years ago • 0 comments

It looks like Ko.ToViewModel is using reflections and it's on method to create the JsonObject (rather then JObject), but ignore JsonIgnore/JsonInclude/DataContract attributes. This make FluentJson pretty useless for EntityObject's since the Json.net serializer will serialize all navigation properties.

Request is to implement or (reuse json.net's) opt-in and/or opt-out scenarios so the Entities are more reusable

tfxterry avatar Feb 16 '13 04:02 tfxterry