Skip to content

Commit b5ddce6

Browse files
mnhdckgitee-org
authored andcommitted
update README.en.md.
1 parent 3970e23 commit b5ddce6

File tree

1 file changed

+39
-37
lines changed

1 file changed

+39
-37
lines changed

README.en.md

Lines changed: 39 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
1-
# cpp-serialization
2-
3-
#### Description
4-
C++对象序列化、反序列化
1+
# cpp-serialization
2+
3+
#### Description
4+
C++ Serialize、DeSerialize
55
使用C11与rapidJson,自动完成序列化与反序列化,
6-
包含头文件即可直接使用,无其他依赖。
7-
8-
#### Software Architecture
9-
Software architecture description
10-
11-
#### Installation
12-
13-
1. xxxx
14-
2. xxxx
15-
3. xxxx
16-
17-
#### Instructions
18-
19-
1. xxxx
20-
2. xxxx
21-
3. xxxx
22-
23-
#### Contribution
24-
25-
1. Fork the repository
26-
2. Create Feat_xxx branch
27-
3. Commit your code
28-
4. Create Pull Request
29-
30-
31-
#### Gitee Feature
32-
33-
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
34-
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
35-
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
36-
4. The most valuable open source project [GVP](https://gitee.com/gvp)
37-
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
38-
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
6+
包含头文件即可直接使用,无其他依赖。
7+
8+
#### Software Architecture
9+
C11 with rapidjson
10+
11+
#### Installation
12+
13+
1. copy dir "source" to your project.
14+
2. include "serialize.hpp".
15+
3. you can use now.
16+
17+
#### Instructions
18+
19+
1. simple object use
20+
21+
```
22+
PropertyObject<int> my("Speed",10);
23+
my.Set(333);
24+
std::string str = my.ToSerializeString(); //序列化
25+
26+
PropertyObject<int> my2("Speed", 0);
27+
my2.FromSerializeString(str );
28+
int nSpeed = my2.Get();
29+
```
30+
31+
2. for multi object use you can find example in dir example
32+
33+
#### Contribution
34+
35+
1. Fork the repository
36+
2. Create Feat_xxx branch
37+
3. Commit your code
38+
4. Create Pull Request
39+
40+

0 commit comments

Comments
 (0)