Find Jobs
Hire Freelancers

Convert XML to JSON using PHP

$30-35 USD

Terminado
Publicado hace más de 13 años

$30-35 USD

Pagado a la entrega
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
ID del proyecto: 3030869

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 13 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
See private message.
$29,75 USD en 14 días
4,9 (368 comentarios)
6,5
6,5
5 freelancers están ofertando un promedio de $27 USD por este trabajo
Avatar del usuario
See private message.
$29,75 USD en 14 días
4,9 (62 comentarios)
6,2
6,2
Avatar del usuario
See private message.
$29,75 USD en 14 días
4,9 (52 comentarios)
4,8
4,8
Avatar del usuario
See private message.
$17 USD en 14 días
5,0 (22 comentarios)
4,5
4,5
Avatar del usuario
See private message.
$29,75 USD en 14 días
5,0 (35 comentarios)
4,4
4,4

Sobre este cliente

Bandera de UNITED STATES
United States
5,0
2
Miembro desde oct 5, 2010

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.