Find Jobs
Hire Freelancers

Convert XML to JSON using PHP

$30-35 USD

Abgeschlossen
Veröffentlicht vor mehr als 13 Jahren

$30-35 USD

Bezahlt bei Lieferung
I have a web service that queries a YouTube API and receives an XML response back (this particular YouTube API method only supports XML). I need to convert the XML response into a particularly formatted JSON response, using PHP. ## Deliverables Example source XML and output JSON format is included in an attachment. The PHP script you write should take the XML input as a string and echo the JSON output. I put together a short document explaining exactly what fields need to be translated from XML to JSON, and how they should be converted. The left-hand side of the -> symbol is the XML field and the right-hand side is the JSON field. Some of the transformations will involve minor string or attribute processing. Any field that I have not listed here is a low priority and not required for successful completion of the function. 2011-01-11T16:13:40.000Z -> "updated": "2011-01-11T16:13:40.000Z" -> "accessControl":{ "syndicate":"allowed", "commentVote":"allowed", "rate":"allowed", "list":"allowed", "comment":"allowed", "embed":"allowed", "videoRespond":"allowed" } GoogleDevelopers -> "uploader":"GoogleDevelopers" -> "player":{ "default":"[login to view URL]\u003dADos_xW4_J0&feature\u003dyoutube_gdata_player" } undefined -> "location":"undefined" Education -> "category":"Education" -> "content":{ "1":"rtsp://[login to view URL]", "5":"[login to view URL]\u003dvideos&app\u003dyoutube_gdata", "6":"rtsp://[login to view URL]" } Jeff Fisher walks through basic history and concepts behind the Google Data protocol. Visit the documentation for more information and list of available APIs:[login to view URL] -> "description":"Jeff Fisher walks through basic history and concepts behind the Google Data protocol. Visit the documentation for more information and list of available APIs:\r\n\r\n[login to view URL]" google, data, gdata, introduction, courses, engineering, gcvprodtuto, plidAB86CD8B942A122B -> "tags":[ "google", "data", "gdata", "introduction", "courses", "engineering", "gcvprodtuto", "plidAB86CD8B942A122B" ] -> "thumbnail":{ "sqDefault":"[login to view URL]", "hqDefault":"[login to view URL]" } Introduction to Google Data -> "title":"Introduction to Google Data" -> "duration":739 2007-12-21T10:13:44.000Z -> "uploaded":"2007-12-21T10:13:44.000Z" ADos_xW4_J0 -> "id": "ADos_xW4_J0" -> "rating":4.53 -> "favoriteCount":104, "viewCount":70762 ## Platform PHP 5.x
Projekt-ID: 3030869

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 13 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
See private message.
$29,75 USD in 14 Tagen
4,9 (368 Bewertungen)
6,5
6,5
5 Freelancer bieten im Durchschnitt $27 USD für diesen Auftrag
Avatar des Nutzers
See private message.
$29,75 USD in 14 Tagen
4,9 (62 Bewertungen)
6,2
6,2
Avatar des Nutzers
See private message.
$29,75 USD in 14 Tagen
4,9 (52 Bewertungen)
4,8
4,8
Avatar des Nutzers
See private message.
$17 USD in 14 Tagen
5,0 (22 Bewertungen)
4,5
4,5
Avatar des Nutzers
See private message.
$29,75 USD in 14 Tagen
5,0 (35 Bewertungen)
4,4
4,4

Über den Kunden

Flagge von UNITED STATES
United States
5,0
2
Mitglied seit Okt. 5, 2010

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.