here"s the thing. Now there"s a json file with an array of data, such as
users.json:
[
{name: aa,age: 1}
{name: bb,age: 2}
{name: cc,age: 3}
...
]
now I want to insert a few pieces of data into the array in this json file. Note that it is not appended to json, but to the array in json. Is there any easy way to implement it? Or do you have to read out and append the array before rewriting it?