Hi First - any help on this is greatly appreciated - have been banging my head against the wall for a while...
I am receiving a PHP array from a webservice (soap xml). From this array, I want to keep just a few tags and then convert it to json (see sample in the bottom).
See sample of the array I receive from webservice, below: Array code is here on Pastie >>
(*** marks the information I need in my final Json)
I would like the final, cropped, json to look like this:
{ "Id":445946, "Name": "Movie: Film", "Image":{ "Url":"http://images.pix.se", "Width":595, "Height":709 }, "MovieUrl": "http://www.Movie.se", "LongText": "Text text info tinfo text Long text", "Price": "70 SEK", "ShortText": "Short info text text text", "Phone": "0410-1111111", "StartDate": 2014-11-12T00:00:00, "EndDate": 2014-11-13T00:00:00, "StartTime": 0001-01-01T19:00:00, "ValidDays": "Wednesday Thursday", "ArenaId": 75316, "ArenaName": "Moviegrafteatern Movie, Staden" }Any help on this would sure make my day :-) Thanks in advance /Tove