Skip to content

Commit

Permalink
add remove method for json adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp committed Dec 13, 2024
1 parent dc25206 commit a62a943
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 a62a943

Please sign in to comment.