Skip to content

Commit

Permalink
add remove method for json adapter (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp authored Dec 13, 2024
1 parent dc25206 commit 8d0491e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ class JsonAdapter {
}
}

// - - - - - - - - - - - - - - - - - - -
// Remove members from a json object
// - - - - - - - - - - - - - - - - - - -

def void removeJsonObj(JSONObject o, String element) {
o.put(element, null)
}

// - - - - - - - - - - - - - - - - - - -
// Add to a json array
// - - - - - - - - - - - - - - - - - - -
Expand Down

0 comments on commit 8d0491e

Please sign in to comment.