Hi All,
I would like to ask you for a help with parsing data from JSON. I have a log file with huge JSON that contains non parsed parts:
dataj.AffectedItems {
"Attachments": "ATT00001.png (24733b); ATT00002.jpg (24684b); ATT00003.jpg (15299b); ATT00004.jpg (8273b); ATT00005.jpg (9061b); ATT00006.png (1564b)",
"Id": "RgAAAAB8ZguAnTGNQ4JPH2DKODg0BwBtsBPdSBEtT6dXWciKpCD7AAAAqSyqAABQYiqz+jZqRJR42ypOkanPAABJkwQ/AAAJ",
"InternetMessageId": "INX.1556c8dc8d061de33e85714224e.282a.15239.4710.16e@inxserver.com",
"ParentFolder": {
"Id": "LgAAAAB8ZguAnTGNQ4JPH2DKODg0AQBtsBPdSBEtT6dXWciKpCD7AAAAqSyqAAAB",
"Path": "\Inbox"
},
"Subject": "Subject"
}
How Can I parse those parts as well?
Expected output:
dataj.AffectedItems.Attachemnts: "ATT00001.png (24733b); ATT00002.jpg (24684b); ATT00003.jpg (15299b); ATT00004.jpg (8273b); ATT00005.jpg (9061b); ATT00006.png (1564b)",
dataj.AffectedItems.Id:"RgAAAAB8ZguAnTGNQ4JPH2DKODg0BwBtsBPdSBEtT6dXWciKpCD7AAAAqSyqAABQYiqz+jZqRJR42ypOkanPAABJkwQ/AAAJ",
dataj.AffectedItems.InternetMessageId: "INX.1556c8dc8d061de33e85714224e.282a.15239.4710.16e31c7b9981ff.bounce_7960@inxserver.com>"
dataj.AffectedItems.ParentFolder.ID:"LgAAAAB8ZguAnTGNQ4JPH2DKODg0AQBtsBPdSBEtT6dXWciKpCD7AAAAqSyqAAAB",
dataj.AffectedItems.ParentFolder.Path:"\Inbox"
},
dataj.AffectedItems.Subject: "Subject"
}
Thank you very much
Buzz