I use Java, and I want to parse a complex JSON string (containing objects, arrays with values, and arrays of objects for JTree) and vice versa. I was able to create a method that parses the JSON string (using Jackson ObjectMapper and JsonNode ) in JTree, but now I want the tree to be editable. And once it has changed, I want it to be parsed into a JSON String or into my Java class represented by a JSON String. Is there any way to do this?
source share