NYCPHP Meetup

NYPHP.org

[nycphp-talk] XML to JSON?

Jon Baer jonbaer at jonbaer.com
Sat Jan 5 00:31:05 EST 2008


Go straight to binary :-)

http://hessianphp.sourceforge.net/quickstart.html

All kidding aside, there is a nice client way w/ jQuery to accomplish  
it (cuz the client could always do *more* work) ...

http://plugins.jquery.com/project/xmlObjectifier

Examples:

http://www.terracoder.com/examples.html

- Jon

On Jan 4, 2008, at 12:55 PM, Rahmin Pavlovic wrote:

> Does anyone know of a clean way to covert XML directly to JSON?
>
> I'm currently using SimpleXMLElement to convert the tree to JSON, so  
> I'm
> wondering if I can or if its even worth eliminating the middle-man.
>
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list