I am receiving an array of nested JSON, I have to read the JSON and write its data in a new file.
"users": [
{
"user_id": "B781C132CAAC45CAB557F29FEA20C4BA",
"$distinct_id": "C621631D24A6428589C8C94BAA18EA3B",
"$properties": {
"Platforms": "["web"]",
"trial_class_flow": true,
"Subscription Plan": null,
"Autorenew Credit Card": "false",
"Username": "midi31",
"$email": "auto_test_368107_gaylene.turcotte@splashmath.com",
"$first_name": "Player",
"$last_name": null,
"User Type": "student",
"Paid": false,
"Paid Once": false,
"Created At": "2019-08-07T12:11:23Z",
"Unsubscribe Id": "A87B13E627D24CE5BA660100E98F99D4",
"First Platform": "web",
"First App ShortCode": "",
"Signup Flow": "trial_class_25",
"School Name": "NA"
}
}
]
Unable to think how to model it in java.