Skip to content

Commit

Permalink
hha
Browse files Browse the repository at this point in the history
hha
  • Loading branch information
abenkdh committed Mar 2, 2020
1 parent 8005b35 commit 5f4331f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 28 deletions.
34 changes: 6 additions & 28 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions bsjson/src/main/java/com/benkkstudio/bsjson/BSObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ public void addProperty(String property, String value){
jsObj.addProperty(property, value);
}

public void addProperty(String property, Number value){
jsObj.addProperty(property, value);
}

public void addProperty(String property, Boolean value){
jsObj.addProperty(property, value);
}

public void addProperty(String property, Character value){
jsObj.addProperty(property, value);
}

public JsonObject getProperty(){
return jsObj;
}
Expand Down

0 comments on commit 5f4331f

Please sign in to comment.