From 9513f5fe75fe7c1c34d1489a77fa951ed3bead6b Mon Sep 17 00:00:00 2001 From: Sungyun Hur Date: Tue, 28 Jun 2022 01:11:30 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e4f18d11a..c2f9385c9 100644 --- a/README.md +++ b/README.md @@ -594,7 +594,7 @@ configuration level. Viper can access array indices by using numbers in the path. For example: -```json +```jsonc { "host": { "address": "localhost", @@ -622,7 +622,7 @@ GetInt("host.ports.1") // returns 6029 Lastly, if there exists a key that matches the delimited key path, its value will be returned instead. E.g. -```json +```jsonc { "datastore.metric.host": "0.0.0.0", "host": {