Closed Lord-Toffa closed 4 years ago
@Lord-Toffa You should file GitHub issues when you're convinced that there's something wrong in minimal-json
, together with detailed instructions to reproduce the error, or to request new features. This rather seems like a question for Stack overflow.
Hello,
first of all, thank you! You made a fantastic work with this tool. That's my first isue message in github. If it's incomprensible, pleas, tell it to me, I'll try to be more precise.
I am programming a small supermarket inteface for an Univrsity Project.
I have the follow issue when I try to change a value in my users.json file.
FROM THIS: { "users": [ {
}
TO THIS: [ { "email": "a", "password": "a", "name": "User", "familyname": "Debugging", "address": "Via bestemmie, 666", "city": "Quel Paese", "CAP": "66420", "mobilenumber": "4136181111", "fidelitycard": "", "userid": 0 }, ]
We decide to re-write the inteire file insted of using a get/set function. I'll post the code of the class which modify the json file:
public static void saveUser() { JsonArray users = new JsonArray();
}
Essentially my problem is:
I'll miss the:
{ "users": [ {
at the beginning of my file... Is possible to resolve that? have i made an error while writing my code?