From a6f913a92ab5d58f16f62f1216513e2afd03d8d2 Mon Sep 17 00:00:00 2001
From: John Butler Price: {{price.currency.symbol}}{{price.value}} {{#price.currency}}{{name}}{{/price.currency}} VAT: {{price.currency.symbol}}{{price.vat}} Available Now Authors: {{name}}
-{{#authors}}
Price: {{price.currency.symbol}}{{price.value}} {{#price.currency}}{{name}} {{availability.text}}{{/price.currency}}
+VAT: {{price.currency.symbol}}{{price.vat}}
\ No newline at end of file diff --git a/examples/dot_notation.js b/examples/dot_notation.js index 707174c..f41fafb 100644 --- a/examples/dot_notation.js +++ b/examples/dot_notation.js @@ -1,5 +1,6 @@ var dot_notation = { name: "A Book", + authors: ["John Power", "Jamie Walsh"], price:{ value: 200, vat: function() { @@ -10,5 +11,8 @@ var dot_notation = { name: 'Euro' } }, - in_stock: true + availability:{ + status: true, + text: "In Stock" + } }; \ No newline at end of file diff --git a/examples/dot_notation.txt b/examples/dot_notation.txt index 304ba38..770e4ce 100644 --- a/examples/dot_notation.txt +++ b/examples/dot_notation.txt @@ -1,4 +1,4 @@Price: €200 Euro
+Authors:
Price: €200 Euro In Stock
VAT: €40
-Available Now