Skip to content

Commit a4e4f65

Browse files
HurSungYunsagikazarmark
authored andcommitted
Update README.md
1 parent d55cd57 commit a4e4f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ configuration level.
594594

595595
Viper can access array indices by using numbers in the path. For example:
596596

597-
```json
597+
```jsonc
598598
{
599599
"host": {
600600
"address": "localhost",
@@ -622,7 +622,7 @@ GetInt("host.ports.1") // returns 6029
622622
Lastly, if there exists a key that matches the delimited key path, its value
623623
will be returned instead. E.g.
624624

625-
```json
625+
```jsonc
626626
{
627627
"datastore.metric.host": "0.0.0.0",
628628
"host": {

0 commit comments

Comments
 (0)