All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dsl_json.java.time.OffsetDateTimeDslJsonConverter Maven / Gradle / Ivy

The newest version!
package dsl_json.java.time;

import com.dslplatform.json.Configuration;
import com.dslplatform.json.DslJson;
import com.dslplatform.json.JavaTimeConverter;

import java.time.OffsetDateTime;

public class OffsetDateTimeDslJsonConverter implements Configuration {
	@Override
	public void configure(DslJson json) {
		json.registerReader(OffsetDateTime.class, JavaTimeConverter.DATE_TIME_READER);
		json.registerWriter(OffsetDateTime.class, JavaTimeConverter.DATE_TIME_WRITER);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy