using gson. But there is some trouble. When i try to add new item there is some message inside a file.json: Json allows only one top-level value.
How to fix this problem?
You need to read the file as an object and then put the extra data in it then re write it
Обсуждают сегодня