Skip to content

Instantly share code, notes, and snippets.

@christophercurrie
Last active August 29, 2015 14:25
Show Gist options
  • Save christophercurrie/938896bca541d0400b64 to your computer and use it in GitHub Desktop.
Save christophercurrie/938896bca541d0400b64 to your computer and use it in GitHub Desktop.
pokEarl hack
class Document2
{
@JsonCreator
public Document2(@JsonProperty("invalid") Double invalid)
{
// mark the value as invalid somehow
}
public void setValue1(int value1)
{
}
public void setValue2(int value2)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment