retrofit2-converter-jaxb

retrofit2 framework jaxb converter

License

License

Categories

Categories

Retrofit Net HTTP Clients
GroupId

GroupId

cn.javaer
ArtifactId

ArtifactId

retrofit2-converter-jaxb
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

retrofit2-converter-jaxb
retrofit2 framework jaxb converter
Project URL

Project URL

https://github.com/javaercn/retrofit2-converter-jaxb
Source Code Management

Source Code Management

https://github.com/javaercn/retrofit2-converter-jaxb.git

Download retrofit2-converter-jaxb

How to add to project

<!-- https://jarcasting.com/artifacts/cn.javaer/retrofit2-converter-jaxb/ -->
<dependency>
    <groupId>cn.javaer</groupId>
    <artifactId>retrofit2-converter-jaxb</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/cn.javaer/retrofit2-converter-jaxb/
implementation 'cn.javaer:retrofit2-converter-jaxb:1.0.0'
// https://jarcasting.com/artifacts/cn.javaer/retrofit2-converter-jaxb/
implementation ("cn.javaer:retrofit2-converter-jaxb:1.0.0")
'cn.javaer:retrofit2-converter-jaxb:jar:1.0.0'
<dependency org="cn.javaer" name="retrofit2-converter-jaxb" rev="1.0.0">
  <artifact name="retrofit2-converter-jaxb" type="jar" />
</dependency>
@Grapes(
@Grab(group='cn.javaer', module='retrofit2-converter-jaxb', version='1.0.0')
)
libraryDependencies += "cn.javaer" % "retrofit2-converter-jaxb" % "1.0.0"
[cn.javaer/retrofit2-converter-jaxb "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
com.squareup.retrofit2 : retrofit jar 2.3.0

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.assertj : assertj-core jar 3.6.2
com.squareup.okhttp3 : mockwebserver jar 3.7.0

Project Modules

There are no modules declared in this project.

License Maven Central Release

Retrofit2 framework JAXB converter

No longer maintained, please use: https://github.com/square/retrofit/tree/master/retrofit-converters/jaxb

Retrofit 官方已增加对 jaxb 的支持, 请使用: https://github.com/square/retrofit/tree/master/retrofit-converters/jaxb

Use

Maven Central

<dependency>
    <groupId>cn.javaer</groupId>
    <artifactId>retrofit2-converter-jaxb</artifactId>
    <version>LATEST</version>
</dependency>

Demo

final Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("http://demo.com")
    .addConverterFactory(JaxbConverterFactory.create())
    .build();

Versions

Version
1.0.0