From 35016c593a92d23e6f3a0ec679492c8508f0d391 Mon Sep 17 00:00:00 2001 From: Jakob Olsson <jakob.olsson@iopsys.eu> Date: Thu, 3 Oct 2019 16:21:53 +0200 Subject: [PATCH] README: update getter argument counts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a1cfd28..d395884 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ For more example usage see ```test/api_test.c```. ### Getter -The getter function, ```json_object_get_by_string_delimiter(5)```, similarily to the setter, takes five arguments, recommended to be used through a wrapper function ```json_object_get_by_string(4)```, defaulting the delimiter to a dot,```.```. If the specified format is not present in the object NULL is returned. +The getter function, ```json_object_get_by_string_delimiter(3)```, similarily to the setter, takes five arguments, recommended to be used through a wrapper function ```json_object_get_by_string(2)```, defaulting the delimiter to a dot,```.```. If the specified format is not present in the object NULL is returned. ``` struct json_object *json_object_get_by_string_delimiter(struct json_object *src, char *fmt, const char *delimiter); -- GitLab