Well I have nothing specific against JSON. I do believe XML is more
readable though.

The things I am serializing are similar to "game levels" and only get
loaded in once when the app starts. So performance and bytes transferred
are not an issue, however readability is because I'd like to make it
easy for people to create levels with a template.

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Perry Stathopoulos
Sent: Thursday, 6 September 2007 12:21 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] XML Serialization

 

Yup you are right, XML serialization is currently not supported.
Apparently there will be SOAP serialization in a future version (that is
what I understood ). You can of course do your own XML
serialization/deserialization since you have access to an XmlReader and
XmlWriter.

 

Also, IMO you should try to avoid XML serialization between client and
server as it is pretty expensive in both number of bytes being
transferred and processing to serialize and deserialize. JSON is
significantly faster. 

 

What reason would you have to use XML over JSON?  Or a better question
would be what is wrong with JSON?

 

Perry

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Nagy
Sent: Wednesday, September 05, 2007 6:41 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] XML Serialization

 

Hi all,

 

Trying to work out how to do XML Serialization in 1.1 - I've found stuff
on JSON but I would like XML. It doesn't seem to be present in the
restricted SL namespaces. Any ideas?

 

Also, SL 1.0 released. Doesn't mean much for me but ScottGu blogged
about it and the SilverLIght media encoder 1.0 as well. 

 

Cheers,
Steven

 

 

 

 

-------------------------------------------------------------------
OzSilverlight.com - to unsubscribe from this list, send a message back
to the list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 

-------------------------------------------------------------------
OzSilverlight.com - to unsubscribe from this list, send a message back
to the list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 




------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net

Reply via email to