0

Sometimes there’s a need to perform a same-format transformation from one structure into another. Now before you start with the implementation, you first need the theoretical basis. therefore my question to you is what possible approaches for the transformation are possible for JSON to JSON?

rhsiz
  • 1
  • 1
    Please check https://stackoverflow.com/questions/13068267/json-to-json-transformer – pratap Nov 07 '21 at 15:14
  • there are many implementations but what I am looking for is the basis for it. is this about a regüal expressions manipulation etc.? – rhsiz Nov 10 '21 at 10:29

1 Answers1

0

If you are talking about a JSON string: convert into a HashMap, do what you have to do then convert back to JSON. You can use a library such as JSON.simple
https://mkyong.com/java/json-simple-example-read-and-write-json/

dave110022
  • 64
  • 5