I have already a json file, I don't want to create a new file. I need to add a jsonObject to this file using Jackson. This is how I did, but here I am creating a new file !
ObjectMapper mapper = new ObjectMapper();
File f = new File("/Users/sabrine/Documents/Workspace STS/Tache3.0/src/graph1.gjson");
mapper.writeValue(f, buildingGraph.graphMetadata);
How can I update my file with adding the object at the beginning of it?