Skip to content

Allow custom handling of property in json that doesn't exist in object #43

Description

@GoogleCodeExporter
Given the following Json:

{
   ID: 1,
   OldProp: "value"
}

and the following class:
public class Foo {
   public int ID { get; set; }
   public string NewProp { get; set; }
}

Give the user a way of handling the fact that "OldProp" does not exist on 
the object.  The default will be to throw an exception.  The user can 
register a custom delegate to handle missing properties.  Typical actions 
could be to ignore the missing property or assign it to a different 
property in the case of a rename refactoring.

Original issue reported on code.google.com by elliott....@gmail.com on 3 Jul 2009 at 12:47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions