Main Site Documentation

Any chance of System.Runtime.Serialization?


#1

Any chance of System.Runtime.Serialization?
I could really use BinaryFormatter.

Im sending RF commands between devices and string building, composing and decomposing is a pain.
Can anyone suggest a better way?


#2

I think serialization is very much needed on embedded devices. This is on our to do list.


#3

A Json serialization? We have Reflection in tinyclr right?


#4

Few years ago, I worked on this stuff for NetMF with other members of the community and the code was on the old GHI site … But I can’t find anymore…


#5

http://old.ghielectronics.com/community/codeshare/entry/357


#6

http://old.ghielectronics.com/community/codeshare/entry/464

This was serializer for XML

Discussion:
http://old.ghielectronics.com/community/forum/topic?id=7719


#7

Perhaps someone could adapt this to Tinyclr https://github.com/PervasiveDigital/jsonnetmf


#8

Ive been looking at this:


There’s a NuGet package:

Also there’s a generator:
https://marketplace.visualstudio.com/items?itemName=jonasjakobsson.ProtobufGeneratorvisualstudio

I can generate the .CS file from the .proto, I get the types correctly generated but there seems to be some things missing for TinyCLR

System.Collections.Generic, IEquatable<> and Func<>


#9

Netmf/TinyCLR/nanoFramework do not support generics