Shamil Salakhetdinov
shamil at smsconsulting.spb.ru
Tue Oct 13 15:13:11 CDT 2009
Hi John,
The below approach and XmlArray attribute can be used for your sample/test
case - the below posting didn't get dba-VB moderation on 20-SEP-09 :
<<
Your mail to 'dba-VB' with the subject
JSON and XML in memory serialization sample code
Is being held until the list moderator can review it for approval.
The reason it is being held:
Message body is too big: 39406 bytes with a limit of 20 KB
>>
So I'm posting it here split into three parts:
From: Shamil Salakhetdinov [mailto:shamil at smsconsulting.spb.ru]
Sent: Sunday, September 20, 2009 6:57 PM
To: 'Discussion concerning Visual Basic and related programming issues.'
Subject: JSON and XML in memory serialization sample code
Hi All,
Related to recent John post here (see P.S.) is a sample code of JSON and XML
in memory serialization - how I do it usually. My question is do you know a
way to implement XML in memory serialization using less code lines? I do use
this XML code serialization for quite some time and I could have some new
features, which could allow to simplify this code:
Thank you.
--Shamil
P.S. Code sample - watch line wraps! - this code was nicely formatted here
but when it will go through Internet it will get lines wrapped but anyway it
should work - just edit comment lines and add references to System.Web and
System.Web.Extensions assemblies:
Continued in the next posting: