i have a string that contains the following:
{
'Attachment03' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Miricals can come true'
},
'Attachment01' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Does it work'
},
'Attachment02' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Miricals can come true'
}
}
now the number of 'Attachments' can be any number i need to get this information in to some kind of array that also contains the other informtion in a field
any ideas
{
'Attachment03' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Miricals can come true'
},
'Attachment01' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Does it work'
},
'Attachment02' => {
'Filesize' => '3321',
'Filename' => 'res.xml',
'Description' => 'Miricals can come true'
}
}
now the number of 'Attachments' can be any number i need to get this information in to some kind of array that also contains the other informtion in a field
any ideas