diff --git a/docs/json.md b/docs/json.md index 8900347446..e9cf941f7b 100644 --- a/docs/json.md +++ b/docs/json.md @@ -262,7 +262,7 @@ For example, if you want to use the `legacy` upickle configuration, the integrat ```scala mdoc:compile-only import upickle.legacy._ // get access to ReadWriter type, macroRW derivation, etc. -object legacyUpickle extends SttpUpickleApi { +object legacyUpickle extends sttp.client4.upicklejson.SttpUpickleApi { override val upickleApi: upickle.legacy.type = upickle.legacy } import legacyUpickle._ diff --git a/docs/quickstart.md b/docs/quickstart.md index 4027fe796c..ca413c8faf 100644 --- a/docs/quickstart.md +++ b/docs/quickstart.md @@ -79,7 +79,7 @@ Your code might then look as follows: ```scala mdoc:compile-only import sttp.client4._ -import sttp.client4.upicklejson._ +import sttp.client4.upicklejson.default._ import upickle.default._ val backend = DefaultSyncBackend()