[json-glib/json-glib-1-2: 4/9] doc: Use 'plain' language for JSON snippets
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib/json-glib-1-2: 4/9] doc: Use 'plain' language for JSON snippets
- Date: Sat, 18 Mar 2017 13:40:45 +0000 (UTC)
commit d1d2a978786437b411ea4fe66173236073527ab7
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Mar 18 13:34:42 2017 +0000
doc: Use 'plain' language for JSON snippets
json-glib/json-path.c | 7 ++++---
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"]
* ]|
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]