Docs nitpick

This commit is contained in:
Sergey Lyubka 2022-06-10 15:00:34 +01:00
parent 013bc58371
commit 50d0d68f45

View File

@ -2756,7 +2756,8 @@ Return value: non-NULL on success, NULL or error
Usage example: Usage example:
```c ```c
char *str = mg_json_get_str(mg_str("{\"a\":\"hi\"}", "$.a")); // str = "hi" struct mg_str json = mg_str("{\"a\": \"hi\"}"); // json = {"a": "hi"}
char *str = mg_json_get_str(json, "$.a"); // str = "hi"
free(str); free(str);
``` ```