This is a discussion on XML to JSON using PHP within the PHP Language forums, part of the PHP Programming Forums category; Hi, Just wondering what the best way to go from XML to JSON is? I have tried to find a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 2006-07-11 01:56:25 +1000, "Gooseman" <jgabbai@gmail.com> said:
> Hi, > > Just wondering what the best way to go from XML to JSON is? > > I have tried to find a good XSLT that can do this, but so far no luck. > Maybe there is a better way of doing this? > > Appreciate any advice, > > Thanks! I haven't actually done anything like this yet, but would go in the direction of using simplexml to read in the XML and then dump it out as an array into one of the PHP JSON "libraries" out there. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|