Registry / http-client / converter-scalars

converter-scalars

JSON →
library3.0.0javamavenunverified

A Retrofit converter that supports Java scalar types (String, primitives, boxed types) for request/response bodies.

<dependency> <groupId>com.squareup.retrofit2</groupId> <artifactId>converter-scalars</artifactId> <version>3.0.0</version> </dependency>
INSTALL
IMPORT
SIG · CONVERTER-SCALARS
C
converter-scalars
http-clientjavav3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ScalarsConverterFactory
retrofit2.converter.scalars.ScalarsConverterFactory

Adds scalar converter support to a Retrofit instance.

import retrofit2.Retrofit; import retrofit2.converter.scalars.ScalarsConverterFactory; public class Example { public static void main(String[] args) { Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://api.example.com/") .addConverterFactory(ScalarsConverterFactory.create()) .build(); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
28 hits · last 30 days
node
23
OpenAI (training)
1
Resources
converter-scalars — mvn dependency:get converter-scalars · libregistry