Skip to content

Commit

Permalink
remove old edge sections and update jsonwrapper (#1104)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddykasp authored Dec 16, 2024
1 parent 765676d commit 6e42148
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,14 @@ final class JsonAdapter {
}
}

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

def void removeJsonObj(JsonObject o, String element) {
o.remove(element)
}

// - - - - - - - - - - - - - - - - - - -
// Add to a json array
// - - - - - - - - - - - - - - - - - - -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,7 @@ final class JsonImporter {
}

]
jsonObj.removeJsonObj("sections")
jsonObj.addJsonObj("sections", sections)
}

Expand Down

0 comments on commit 6e42148

Please sign in to comment.