Created
June 27, 2012 23:57
-
-
Save cbcwebdev/3007715 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Blah | |
{ | |
[JsonIgnore] | |
public string Property { get; set; } | |
[JsonProperty(Name = "a")] | |
public int AnotherProperty { get; set; } | |
[JsonProperty(Name = "b")] | |
public SomeSuperDuperClass LastProperty { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment