You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by po...@apache.org on 2020/09/14 11:15:58 UTC

[incubator-tamaya-site] branch master updated: TAMAYA-414: Fix doc in Json Extension

This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tamaya-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 3f01b6b  TAMAYA-414: Fix doc in Json Extension
     new ad7c55a  Merge pull request #6 from Daniel-Dos/TAMAYA-414
3f01b6b is described below

commit 3f01b6b241b7d2836bebc916eb5fc46b03a7a6ec
Author: Daniel Dias <da...@gmail.com>
AuthorDate: Sun Sep 13 03:02:49 2020 -0300

    TAMAYA-414: Fix doc in Json Extension
---
 content/documentation/extensions/mod_json.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/content/documentation/extensions/mod_json.adoc b/content/documentation/extensions/mod_json.adoc
index cb4220a..be86132 100644
--- a/content/documentation/extensions/mod_json.adoc
+++ b/content/documentation/extensions/mod_json.adoc
@@ -17,9 +17,9 @@ Tamaya _JSON_ provides support for reading configuration in JSON (Java Serialize
 [source, json]
 -----------------------------------------------
 {
-  "a.b"{
+  "a.b":{
     "key1": "blabla",
-    "key2": true,
+    "key2": true
   }
 }
 -----------------------------------------------
@@ -60,12 +60,12 @@ This extension also transitively requires the +tamaya.formats+ module.
 
 === Reading configuration in JSON
 
-For reading JSON based onfiguration most easily a +JSONFormat+ can be
+For reading JSON based configuration most easily a +JSONFormat+ can be
 used:
 
 [source, java]
 -----------------------------------------------
-ConfigurationData dataRead = ConfigurationFormats.getInstance().readConfig(
+ConfigurationData dataRead = ConfigurationFormats.getInstance().readConfigurationData(
     getClassLoader().getResource("myFileConfig.json"), new JSONFormat()));
 -----------------------------------------------