We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d55cd57 commit a4e4f65Copy full SHA for a4e4f65
README.md
@@ -594,7 +594,7 @@ configuration level.
594
595
Viper can access array indices by using numbers in the path. For example:
596
597
-```json
+```jsonc
598
{
599
"host": {
600
"address": "localhost",
@@ -622,7 +622,7 @@ GetInt("host.ports.1") // returns 6029
622
Lastly, if there exists a key that matches the delimited key path, its value
623
will be returned instead. E.g.
624
625
626
627
"datastore.metric.host": "0.0.0.0",
628
0 commit comments