I have a json file which contains a lot of nested objects and arrays i want to import it and do a transformation on the id field which is a primary key and then i want to store this file on mongodb. I tried with this job
but the problem is that the document stored on mongodb has lost its structure the content of the nested arrays has become a string .
You will find attached the two json files input.json and output.json to more understand the problem.
can you help me solve this problem even with another job that you propose ?