summaryrefslogtreecommitdiff
path: root/json-glib/json-path.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-03-18 13:34:42 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-03-18 13:35:28 +0000
commitd1d2a978786437b411ea4fe66173236073527ab7 (patch)
treeeecb7eeac0db505c6f43f0ca4e7dd29b9eea1143 /json-glib/json-path.c
parentba663922b3d620b540c1d9436895e651190cb0b9 (diff)
downloadjson-glib-d1d2a978786437b411ea4fe66173236073527ab7.tar.gz
doc: Use 'plain' language for JSON snippets
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r--json-glib/json-path.c7
1 files changed, 4 insertions, 3 deletions
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.:
*
- * |[
+ * |[<!-- language="plain" -->
* // 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:
- * |[
+ *
+ * |[<!-- language="plain" -->
* { "store": {
* "book": [
* { "category": "reference", "author": "Nigel Rees",
@@ -145,7 +146,7 @@
*
* The output will be:
*
- * |[
+ * |[<!-- language="plain" -->
* ["Nigel Rees","Evelyn Waugh","Herman Melville","J. R. R. Tolkien"]
* ]|
*