diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-18 18:40:49 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2017-03-18 18:40:49 +0000 |
commit | 278df260322159324b0d775d4840dd0f1e2fa24d (patch) | |
tree | 47655e840f2059ad77850fd7cc6de5a07efafcf9 /json-glib/json-path.c | |
parent | 87ee7241c62af4e6d696da784a87427b1073e5cb (diff) | |
download | json-glib-278df260322159324b0d775d4840dd0f1e2fa24d.tar.gz |
docs: Use appropriate markdown for literals
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r-- | json-glib/json-path.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c index 5777f64..c46d210 100644 --- a/json-glib/json-path.c +++ b/json-glib/json-path.c @@ -59,32 +59,32 @@ * The available operators are: * * * Root node - * The '$' character represents the root node of the JSON tree, and + * The `$` character represents the root node of the JSON tree, and * matches the entire document. * - * * Child nodes can either be matched using '.' or '[]'. For instance, - * both `$.store.book` and `$['store']['book'] match the contents of + * * Child nodes can either be matched using `.` or `[]`. For instance, + * both `$.store.book` and `$['store']['book']` match the contents of * the book member of the store object. * * * Child nodes can be reached without specifying the whole tree structure - * through the recursive descent operator, or '..'. For instance, + * through the recursive descent operator, or `..`. For instance, * `$..author` matches all author member in every object. * - * * Child nodes can grouped through the wildcard operator, or '*'. For + * * Child nodes can grouped through the wildcard operator, or `*`. For * instance, `$.store.book[*].author` matches all author members of any * object element contained in the book array of the store object. * * * Element nodes can be accessed using their index (starting from zero) - * in the subscript operator '[]'. For instance, `$.store.book[0]` matches + * in the subscript operator `[]`. For instance, `$.store.book[0]` matches * the first element of the book array of the store object. * * * Subsets of element nodes can be accessed using the set notation - * operator '[start,end]'. For instance, `$.store.book[0,2]` matches the + * operator `[start,end]`. For instance, `$.store.book[0,2]` matches the * first, second, and third elements of the book array of the store * object. * * * Slices of element nodes can be accessed using the slice notation - * operation '[start:end:step]'. If start is omitted, the starting index + * operation `[start:end:step]`. If start is omitted, the starting index * of the slice is implied to be zero; if end is omitted, the ending index * of the slice is implied to be the length of the array; if step is * omitted, the step of the slice is implied to be 1. For instance, |