Browse Source

Merge pull request #496 from andy5995/pointer_doc

json_pointer.h:suggest minor grammar improvement for pointer doc
tags/json-c-0.14-20200419
Eric Haszlakiewicz GitHub 6 years ago
parent
commit
48984dbd42
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      json_pointer.h

+ 2
- 2
json_pointer.h View File

@@ -39,7 +39,7 @@ extern "C" {
* *
* @param obj the json_object instance/tree from where to retrieve sub-objects * @param obj the json_object instance/tree from where to retrieve sub-objects
* @param path a (RFC6901) string notation for the sub-object to retrieve * @param path a (RFC6901) string notation for the sub-object to retrieve
* @param res a pointer where to store a reference to the json_object
* @param res a pointer that stores a reference to the json_object
* associated with the given path * associated with the given path
* *
* @return negative if an error (or not found), or 0 if succeeded * @return negative if an error (or not found), or 0 if succeeded
@@ -56,7 +56,7 @@ int json_pointer_get(struct json_object *obj, const char *path, struct json_obje
* aspects when using this function. * aspects when using this function.
* *
* @param obj the json_object instance/tree to which to add a sub-object * @param obj the json_object instance/tree to which to add a sub-object
* @param res a pointer where to store a reference to the json_object
* @param res a pointer that stores a reference to the json_object
* associated with the given path * associated with the given path
* @param path_fmt a printf() style format for the path * @param path_fmt a printf() style format for the path
* *


Loading…
Cancel
Save