I need a little help solving an issue related to the division of a large json into different parts.
Let’s say I have the following JSON:
{
“sedPackage”: “SectorComponents”,
“sedGVer”: “4”,
“sedVer”: “2”,
“LocalCaseNumbers”: {
“LocalCaseNumber”: [
{
“country”: “”,
“caseNumber”: “”,
“Institution”: {
“institutionID”: “”,
“institutionName”: “”
}
}
]
},
“InsuredPerson”: {
“PersonIdentification”: {
“familyName”: “”,
“forename”: “”,
“dateBirth”: “”,
“sex”: {
“value”: [
“”
]
}
}
}
How can I divide the JSON above into the following three parts:
First Part:
{
“sedPackage”: “SectorComponents/Pensions/P5000”,
“sedGVer”: “4”,
“sedVer”: “2”,
“LocalCaseNumbers”: {
Well, right now, the division is not being done, that’s why I need help. I don’t know how to divide the original JSON into the three parts that I showed earlier.