Built-in bson serializer can't deserialize nested json

I can’t deserialize json string with built-in tinyclr json library. So, I use json.netmf to solve this problem.

this is my json classes look a like

this is my solution:

4 Likes

This is great, thanks for sharing. I didn’t know aboutthe json.netmf library https://github.com/nanoframework/Json.NetMF

1 Like

you’re welcome :+1:

Nice work Fadhil. Love the number of decimal places on temp and rainfallinonehour. :yum:

I’ll be posting about my own weather station soon. Just got the PCB from JLC so going to assemble and test this weekend.

3 Likes