{"id":62411,"library":"converter-scalars","title":"Retrofit Scalars Converter","description":"A Retrofit converter that supports Java scalar types (String, primitives, boxed types) for request/response bodies.","status":"active","version":"3.0.0","language":"java","source_language":null,"source_url":"https://github.com/square/retrofit","tags":["retrofit","converter","scalars","http"],"install":[{"cmd":"<dependency>\n  <groupId>com.squareup.retrofit2</groupId>\n  <artifactId>converter-scalars</artifactId>\n  <version>3.0.0</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'com.squareup.retrofit2:converter-scalars:3.0.0'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"ScalarsConverterFactory","correct":"retrofit2.converter.scalars.ScalarsConverterFactory"}],"quickstart":{"code":"import retrofit2.Retrofit;\nimport retrofit2.converter.scalars.ScalarsConverterFactory;\n\npublic class Example {\n    public static void main(String[] args) {\n        Retrofit retrofit = new Retrofit.Builder()\n                .baseUrl(\"https://api.example.com/\")\n                .addConverterFactory(ScalarsConverterFactory.create())\n                .build();\n    }\n}","lang":"java","description":"Adds scalar converter support to a Retrofit instance."},"warnings":[],"env_vars":null,"search_vec":"'bodi':18 'box':14 'convert':3,6,20 'http':22 'java':9 'primit':13 'request/response':17 'retrofit':1,5,19 'scalar':2,10,21 'string':12 'support':8 'type':11,15","created_at":"2026-06-17T16:29:44.382720+00:00","updated_at":"2026-06-17T16:29:44.382720+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/square/retrofit","github":"https://github.com/square/retrofit","docs":"https://appdoc.app/artifact/com.squareup.retrofit2/converter-scalars/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}