How to add data to json
I'm trying to add data to a JSON when registration is successful.
But it is showing null, can anyone help me in this.
You need to properly format your JSON file.
Just add the
[ to the beginning of the JSON file and
] to the end.
Then continue to debug from there :)