mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve conf json
This commit is contained in:
parent
09975f4364
commit
533dcd7551
@ -2,6 +2,7 @@
|
||||
|
||||
2024/10/08
|
||||
* 完善链表(感谢兆坤提供补丁)
|
||||
* 修复 conf_json_parse (感谢兆坤提供补丁)
|
||||
|
||||
2024/10/01
|
||||
* 完善链表(感谢兆坤提供补丁)
|
||||
|
@ -321,6 +321,8 @@ static ret_t conf_json_parse_value(json_parser_t* parser) {
|
||||
parser->current = node;
|
||||
}
|
||||
|
||||
parser->current->value_type = CONF_NODE_VALUE_NODE;
|
||||
|
||||
if (c == '[') {
|
||||
parser->current->node_type = CONF_NODE_ARRAY;
|
||||
return conf_json_parse_array(parser);
|
||||
|
Loading…
Reference in New Issue
Block a user