Home > front end >  C# - How to delete a specific member in JSON File
C# - How to delete a specific member in JSON File

Time:10-28

I have this JSON file that stores Dokkan Passives for my Discord Bot for people to use and I recently added a Slash command where the user can Delete a passive based on the name they pass through it. If the name matches an entry in the JSON file then it can go ahead and delete the whole member from the JSON file, this is what I'm trying to do.

This is what part of my JSON File looks like

{
  "userPassiveStorage": "Storage for user created passives using /passivecreator",
  "members": [
    {
      "membersJSONList": [],
      "Error": null,
      "UserName": "           
  • Related