IonicaBizau / ama

:speech_balloon: Ask me anything!
18 stars 3 forks source link

Does the edit-json-file library edit files or just add to them? #50

Closed Mr-Smarty closed 4 years ago

Mr-Smarty commented 4 years ago

I would like to able to keep track of users and a score. I know I can use file.set when I want to add a new user, but can I edit or delete previously created fields? For example I have the json:

{
  "123": "0",
  "456": "0",
  "780": "0"
} 

Can I change user 123's score to "1"?

IonicaBizau commented 4 years ago

Please follow the API reference of the module. Best!