Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 902 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 902 Bytes

Spring message converter for the JPX library

Utility class for integrating the Jenetic's JPX library with the serialization logic of Spring. Using this converter, Spring automatically uses JPX's own serialization to read and write GPX objects, ensuring a valid GPX document is produced.

Usage

The class GpxMessageConverter implements the HttpMessageConverter interface from Spring-web, and can be used where ever Spring allows injecting its implementation. A detailed description can be found at https://www.baeldung.com/spring-httpmessageconverter-rest.

Installation

Add the dependency to your pom.xml

<dependency>
  <groupId>com.metronom</groupId>
  <artifactId>spring-jpx-message-converter</artifactId>
  <version>1.0.0</version>
</dependency>

or build.gradle

implementation 'com.metronom:spring-jpx-message-converter:1.0.0'