Skip to content

Commit

Permalink
#181 JSONLookupValue.getKeyAsInt
Browse files Browse the repository at this point in the history
  • Loading branch information
teosarca committed Feb 24, 2017
1 parent 3ccc7fd commit 6b755d0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ public String getKey()
{
return _key;
}

@JsonIgnore
public int getKeyAsInt()
{
return Integer.parseInt(getKey());
}

@JsonIgnore
public String getName()
Expand Down

0 comments on commit 6b755d0

Please sign in to comment.