All Projects → gkopff → gson-javatime-serialisers

gkopff / gson-javatime-serialisers

Licence: MIT License
A set of GSON serialiser/deserialisers for dealing with Java 8 java.time entities.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to gson-javatime-serialisers

geok
Kotlin geometry library
Stars: ✭ 29 (-59.15%)
Mutual labels:  gson
Coronavirus
Java API Wrapper for tracking coronavirus (COVID-19, SARS-CoV-2) via https://git.io/Jvoep
Stars: ✭ 16 (-77.46%)
Mutual labels:  gson
nakadi-java
🌀 Client library for the Nakadi Event Broker (examples: http://bit.ly/njc-examples, site: https://dehora.github.io/nakadi-java/)
Stars: ✭ 29 (-59.15%)
Mutual labels:  gson
methanol
⚗️ Lightweight HTTP extensions for Java
Stars: ✭ 172 (+142.25%)
Mutual labels:  gson
SilverScreener
A feature-rich movie guide app, that lets you discover movies from TMDb.
Stars: ✭ 24 (-66.2%)
Mutual labels:  gson
MVVM-Demo
This demo for MVVM Design pattern for android
Stars: ✭ 20 (-71.83%)
Mutual labels:  gson
HTTP-Wrapper
A simple http wrapper
Stars: ✭ 13 (-81.69%)
Mutual labels:  gson
SerializedNameGen
Auto add or remove json annotation plugin, such as gson SerializedName, fastjson JSONField, jackson JsonProperty. It also support java and kotlin file.
Stars: ✭ 19 (-73.24%)
Mutual labels:  gson
Kriptofolio
Free open source minimalistic cryptocurrencies portfolio app for Android.
Stars: ✭ 79 (+11.27%)
Mutual labels:  gson
Instagram
Instagram Project is a mini version of real Instagram app for Android 📱 built with latest Android Development Tools. Kotlin, MVVM, LiveData, GSON, Retrofit, Dagger2
Stars: ✭ 20 (-71.83%)
Mutual labels:  gson
neat-form
Build form on Android using JSON schema; also includes view validation and skip logic.
Stars: ✭ 56 (-21.13%)
Mutual labels:  gson
BakingApp
Udacity Android Developer Nanodegree, project 2.
Stars: ✭ 54 (-23.94%)
Mutual labels:  gson
flickr-android
A small sample app to showcase architecting app using Clean Architecture and MVVM
Stars: ✭ 25 (-64.79%)
Mutual labels:  gson
spring-rest-2-ts
spring rest 2 ts is typescript generator which produces data model and services in typescript based on Spring MVC annotations. It supports generation for Angular and React
Stars: ✭ 59 (-16.9%)
Mutual labels:  gson
SunnyBeach
阳光沙滩APP
Stars: ✭ 60 (-15.49%)
Mutual labels:  gson
fx-gson
A set of type adapters for Google Gson to make JavaFX properties serialization more natural
Stars: ✭ 53 (-25.35%)
Mutual labels:  gson
FlickOff
A lite movie guide app, with MVVM architecture, that lets you discover movies from TMDb.
Stars: ✭ 31 (-56.34%)
Mutual labels:  gson
Compose-BreakingBad
🧪 ☠︎ Jetpack Compose - Breaking Bad ☢︎
Stars: ✭ 26 (-63.38%)
Mutual labels:  gson
PlayAndroid
✌️✊👋玩安卓Mvvm组件化客户端,整合Jetpack组件DataBinding、ViewModel以及LiveData;屏幕适配✔️状态栏沉浸式✔️黑夜模式✔️,无数据、加载失败状态页;骨架屏、Koin依赖注入等
Stars: ✭ 193 (+171.83%)
Mutual labels:  gson
jackson-dynamic-filter
An easy way to determine filters dynamically using Jackson
Stars: ✭ 35 (-50.7%)
Mutual labels:  gson

gson-javatime-serialisers

What is it?

A set of GSON serialiser/deserialisers for dealing with Java 8 java.time entities. Wherever possible, ISO 8601 string representations are used.

Getting it

<dependency>
  <groupId>com.fatboyindustrial.gson-javatime-serialisers</groupId>
  <artifactId>gson-javatime-serialisers</artifactId>
  <version>1.1.1</version>
</dependency>

Using it

final Gson gson = Converters.registerOffsetDateTime(new GsonBuilder()).create();
final OffsetDateTime original = OffsetDateTime.now();

final String json = gson.toJson(original);
final OffsetDateTime reconstituted = gson.fromJson(json, OffsetDateTime.class);

Testing

Unrelated to gson-javatime-serialisers itself, but if you're working with Java 8 time, you may be interested in spencerwi/hamcrest-jdk8-time

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].