From 31e9a2d14f946c43c94ddbad2efefc95d91b0204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Henriksson=20T=C3=B6rnstr=C3=B6m?= Date: Tue, 16 Jan 2024 11:58:43 +0100 Subject: [PATCH] Fixed imports of GsonModule in docs --- docs/asciidoc/modules/gson.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/asciidoc/modules/gson.adoc b/docs/asciidoc/modules/gson.adoc index 777f3cfd33..0ecf8a229a 100644 --- a/docs/asciidoc/modules/gson.adoc +++ b/docs/asciidoc/modules/gson.adoc @@ -14,7 +14,7 @@ JSON support using https://github.com/google/gson[Gson] library. .Java [source, java, role="primary"] ---- -import io.jooby.json.GsonModule; +import io.jooby.gson.GsonModule; { install(new GsonModule()); <1> @@ -34,7 +34,7 @@ import io.jooby.json.GsonModule; .Kotlin [source, kt, role="secondary"] ---- -import io.jooby.json.GsonModule +import io.jooby.gson.GsonModule { install(GsonModule()) <1> @@ -62,7 +62,7 @@ Access to default object mapper is available via require call: .Default object mapper [source, java, role="primary"] ---- -import io.jooby.json.GsonModule; +import io.jooby.gson.GsonModule; { install(new GsonModule()); @@ -76,7 +76,7 @@ import io.jooby.json.GsonModule; .Kotlin [source, kt, role="secondary"] ---- -import io.jooby.json.GsonModule +import io.jooby.gson.GsonModule { install(GsonModule()) @@ -90,7 +90,7 @@ You can provide your own `Gson`: .Custom ObjectMapper [source, java, role="primary"] ---- -import io.jooby.json.GsonModule; +import io.jooby.gson.GsonModule; { Gson gson = new GsonBuilder().create(); @@ -102,7 +102,7 @@ import io.jooby.json.GsonModule; .Kotlin [source, kt, role="secondary"] ---- -import io.jooby.json.GsonModule +import io.jooby.gson.GsonModule { val gson = GsonBuilder().create()