Skip to content

Commit

Permalink
Update nnjson
Browse files Browse the repository at this point in the history
  • Loading branch information
shinovon committed Sep 5, 2024
1 parent b95fc2e commit c0bd64a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cc/nnproject/json/JSONObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ public void put(String name, Object obj) {
}

public void put(String name, AbstractJSON json) {
table.put(name, json);
table.put(name, json == null ? JSON.json_null : json);
}

public void put(String name, String s) {
table.put(name, s);
table.put(name, s == null ? JSON.json_null : s);
}

public void put(String name, int i) {
Expand Down

0 comments on commit c0bd64a

Please sign in to comment.