From 764a884e69225146c136bc24595d2989e25ead3f Mon Sep 17 00:00:00 2001 From: Letter Date: Sat, 31 Aug 2019 11:44:42 +0800 Subject: [PATCH] Update readme.md --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 1845cee..b939c37 100644 --- a/readme.md +++ b/readme.md @@ -203,11 +203,11 @@ void csonInit(void *malloc, void *free) 解析json,将json字符串反序列化成结构体对象 ```C -void *csonDecodeObject(cJSON *json, CsonModel *model, int modelSize) +void *csonDecode(const char *jsonStr, CsonModel *model, int modelSize) ``` - 参数 - - `json` json字符串 + - `jsonStr` json字符串 - `model` 描述目标结构体的数据模型 - `modelSize` 数据模型大小 - 返回