TAMAYA-414: Fix doc in Json Extension
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 @@
[source, json]
-----------------------------------------------
{
- "a.b"{
+ "a.b":{
"key1": "blabla",
- "key2": true,
+ "key2": true
}
}
-----------------------------------------------
@@ -60,12 +60,12 @@
=== 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()));
-----------------------------------------------