diff --git a/README.md b/README.md index 9ff5f7a..8f68cf8 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ And with config for this library: Kotlin code will be: ```kotlin -val module = Json.plain.parse(Module.serializer(), input) +val module = loadModule(input) val businessService = (module["service"] as BusinessService) ```