im stuck at trying to update .json from java app.
theres only one method from it when using ObjectMapper but cant figure out parameters.
first parameter is object to update but i have no idea how to pass it? i mean, its in file. second and last parameter i have no idea what it is supposed to be. ive read docs but still- no idea what they want there.
secondly, my other approach was to just rewrite whole .json but then i couldnt write more than one person into it (my json is Person (people) database - it has few fields within each "object"). again tried more stuff (eg putting 10 people into List and putting this list object (instance) into .json but still only one person is there. it requires Object parameter.
please help me :)))