Skip to content

Commit 734e60f

Browse files
committed
2 parents bf77e1a + 80e0950 commit 734e60f

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

LICENSE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
MIT License
1+
The MIT License (MIT)
22

3-
Copyright (c) [year] [fullname]
3+
Copyright (c) 2025
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
# nanoFramework.MessagePack
1+
# nanoFramework.MessagePack
2+
3+
nanoFramework.MessagePack is a simple, lightweight [MsgPack.Light](https://github.com/progaudi/MsgPack.Light) serialization library that can be used in [nanoFramework](https://github.com/nanoframework) solutions.
4+
5+
[MessagePack](https://github.com/msgpack/msgpack) is an object serialization specification like JSON.
6+
7+
## Usage
8+
### Serialization to bytes array:
9+
```C#
10+
var bytes = MessagePackSerializer.Serialize(value);
11+
```
12+
### Deserialization:
13+
```C#
14+
var result = (TestClass)MessagePackSerializer.Deserialize(typeof(TestClass), result);
15+
```
16+
### Your type serialization/deserialization:
17+
If you want to work with your own types, first thing you need - type converter.
18+
<<TODO>>

0 commit comments

Comments
 (0)