The string looks like this.
string(202)
"{"_id":"2","_rev":"2-2251dd9912477d8a2b91c6fd5ce62faf","_attachments":{"creativecommons.pdf":{"content_type":"text/pdf","revpos":2,"digest":"md5-AyV8c76dsfqfGF1BBdQIIw==","length":280357,"stub":true}}} `
I guess preg_match_all is a way to do it but i do not yet know the syntax for it. Maby there is an other way. Some help would be appreciated.