Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Is there any way to serialize data with the use of 4.2.2.2 firmware?

serialize

  • Please log in to reply
1 reply to this topic

#1 dtoth

dtoth

    New Member

  • Members
  • Pip
  • 6 posts

Posted 06 August 2013 - 04:11 PM

Hi Everybody!  

I'm trying to serialize data on the mentioned firmware, but there is no function to do this in the System.Xml namespace. Is there any other way to serialize to xml?

 

cheers



#2 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 06 August 2013 - 07:40 PM

You could override the to string method on the object to serialize it for you,  if you can use a less verbose syntax like json as it is much easier to manage the memory of the ND then, as strings are immutable and can consume large amounts of heap space.

 

Nak.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.