From d1d2a978786437b411ea4fe66173236073527ab7 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 18 Mar 2017 13:34:42 +0000 Subject: doc: Use 'plain' language for JSON snippets --- json-glib/json-path.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'json-glib/json-path.c') diff --git a/json-glib/json-path.c b/json-glib/json-path.c index c325da5..ed09e9b 100644 --- a/json-glib/json-path.c +++ b/json-glib/json-path.c @@ -48,7 +48,7 @@ * path index is separated using either the dot notation or the bracket * notation, e.g.: * - * |[ + * |[ * // dot notation * $.store.book[0].title * @@ -97,7 +97,8 @@ * ## Example of JSONPath matches * The following example shows some of the results of using #JsonPath * on a JSON tree. We use the following JSON description of a bookstore: - * |[ + * + * |[ * { "store": { * "book": [ * { "category": "reference", "author": "Nigel Rees", @@ -145,7 +146,7 @@ * * The output will be: * - * |[ + * |[ * ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"] * ]| * -- cgit v1.2.1