[Simple-support] JSON
Brought to you by:
niallg
|
From: Daniil S. <da...@or...> - 2007-05-17 23:29:01
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Tahoma">Hi,<br> <br> I found SimpleXML library just recently and it is great. Saved me a lot of time. But I was just wondering if it would be possible to write a Serializer which will write not into XML format but into JSON format. This way one could switch between serialization on request without having to modify annotations (if not worse). It does seem to out of scope of SimpleXML since, as the name implies, it is designed to work with XML only. But nonetheless. I'd be glad to do it if given a few pointers.<br> <br> Daniil<br> </font></font> </body> </html> |