Repository: camel Updated Branches: refs/heads/master c8ff55bdc -> a94f95b61
Reformat json test examples for better readability Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a94f95b6 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a94f95b6 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a94f95b6 Branch: refs/heads/master Commit: a94f95b6114cbcb3d825eb2c79175520553aef99 Parents: c8ff55b Author: Charles Moulliard <ch0...@gmail.com> Authored: Thu Aug 28 08:22:47 2014 +0200 Committer: Charles Moulliard <ch0...@gmail.com> Committed: Thu Aug 28 08:22:47 2014 +0200 ---------------------------------------------------------------------- .../src/test/resources/average.json | 29 +++++++------- .../src/test/resources/books.json | 41 ++++++++++---------- .../src/test/resources/cheap.json | 27 ++++++------- .../src/test/resources/expensive.json | 29 +++++++------- 4 files changed, 65 insertions(+), 61 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/a94f95b6/components/camel-jsonpath/src/test/resources/average.json ---------------------------------------------------------------------- diff --git a/components/camel-jsonpath/src/test/resources/average.json b/components/camel-jsonpath/src/test/resources/average.json index 51a45ba..bd888dc 100644 --- a/components/camel-jsonpath/src/test/resources/average.json +++ b/components/camel-jsonpath/src/test/resources/average.json @@ -1,16 +1,17 @@ -{ "store": { - "book": [ - { - "category": "fiction", - "author": "Evelyn Waugh", - "title": "Sword of Honour", - "price": 12.99, - "isbn": "0-553-21311-3" +{ + "store": { + "book": [ + { + "category": "fiction", + "author": "Evelyn Waugh", + "title": "Sword of Honour", + "price": 12.99, + "isbn": "0-553-21311-3" + } + ], + "bicycle": { + "color": "red", + "price": 19.95 + } } - ], - "bicycle": { - "color": "red", - "price": 19.95 - } -} } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/a94f95b6/components/camel-jsonpath/src/test/resources/books.json ---------------------------------------------------------------------- diff --git a/components/camel-jsonpath/src/test/resources/books.json b/components/camel-jsonpath/src/test/resources/books.json index c06af59..6d4594f 100644 --- a/components/camel-jsonpath/src/test/resources/books.json +++ b/components/camel-jsonpath/src/test/resources/books.json @@ -1,22 +1,23 @@ -{ "store": { - "book": [ - { - "category": "reference", - "author": "Nigel Rees", - "title": "Sayings of the Century", - "price": 8.95 - }, - { - "category": "fiction", - "author": "Evelyn Waugh", - "title": "Sword of Honour", - "price": 12.99, - "isbn": "0-553-21311-3" +{ + "store": { + "book": [ + { + "category": "reference", + "author": "Nigel Rees", + "title": "Sayings of the Century", + "price": 8.95 + }, + { + "category": "fiction", + "author": "Evelyn Waugh", + "title": "Sword of Honour", + "price": 12.99, + "isbn": "0-553-21311-3" + } + ], + "bicycle": { + "color": "red", + "price": 19.95 + } } - ], - "bicycle": { - "color": "red", - "price": 19.95 - } -} } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/a94f95b6/components/camel-jsonpath/src/test/resources/cheap.json ---------------------------------------------------------------------- diff --git a/components/camel-jsonpath/src/test/resources/cheap.json b/components/camel-jsonpath/src/test/resources/cheap.json index 9ffb356..02df81c 100644 --- a/components/camel-jsonpath/src/test/resources/cheap.json +++ b/components/camel-jsonpath/src/test/resources/cheap.json @@ -1,15 +1,16 @@ -{ "store": { - "book": [ - { - "category": "reference", - "author": "Nigel Rees", - "title": "Sayings of the Century", - "price": 8.95 +{ + "store": { + "book": [ + { + "category": "reference", + "author": "Nigel Rees", + "title": "Sayings of the Century", + "price": 8.95 + } + ], + "bicycle": { + "color": "red", + "price": 19.95 + } } - ], - "bicycle": { - "color": "red", - "price": 19.95 - } -} } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/a94f95b6/components/camel-jsonpath/src/test/resources/expensive.json ---------------------------------------------------------------------- diff --git a/components/camel-jsonpath/src/test/resources/expensive.json b/components/camel-jsonpath/src/test/resources/expensive.json index 8ebe734..589da85 100644 --- a/components/camel-jsonpath/src/test/resources/expensive.json +++ b/components/camel-jsonpath/src/test/resources/expensive.json @@ -1,16 +1,17 @@ -{ "store": { - "book": [ - { - "category": "programming", - "author": "Claus Ibsen,Jonathan Anstey", - "title": "Camel in Action", - "price": 39.99, - "isbn": "978-193-518-236-8" +{ + "store": { + "book": [ + { + "category": "programming", + "author": "Claus Ibsen,Jonathan Anstey", + "title": "Camel in Action", + "price": 39.99, + "isbn": "978-193-518-236-8" + } + ], + "bicycle": { + "color": "red", + "price": 19.95 + } } - ], - "bicycle": { - "color": "red", - "price": 19.95 - } -} } \ No newline at end of file