All Projects → gkopff → Gson Jodatime Serialisers

gkopff / Gson Jodatime Serialisers

Licence: mit
A set of Gson serialiser/deserialisers for dealing with Joda Time entities.

Programming Languages

java
68154 projects - #9 most used programming language

Labels

Projects that are alternatives of or similar to Gson Jodatime Serialisers

Reservoir
Android library to easily serialize and cache your objects to disk using key/value pairs.
Stars: ✭ 674 (+529.91%)
Mutual labels:  gson
Gsonpath
A Java annotation processor library which generates gson type adapters using basic JsonPath style annotations
Stars: ✭ 54 (-49.53%)
Mutual labels:  gson
Mvpframes
整合大量主流开源项目并且可高度配置化的 Android MVP 快速集成框架,支持 AndroidX
Stars: ✭ 100 (-6.54%)
Mutual labels:  gson
Zsbpads
Material design、MVC、OKHttp、Glide、greendao 设计的一款面试题题库的app完整项目
Stars: ✭ 25 (-76.64%)
Mutual labels:  gson
Heyyoo
Heyyoo is a sample social media Android application 📱 built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Architecture Components, MVVM, Room, Retrofit, Material Components).
Stars: ✭ 38 (-64.49%)
Mutual labels:  gson
Gankioclient
利用干货集中营的API自制练手之作
Stars: ✭ 63 (-41.12%)
Mutual labels:  gson
Countries
An example Android app using Retrofit, Realm, Parceler, Dagger and the MVVM pattern with the data binding lib.
Stars: ✭ 616 (+475.7%)
Mutual labels:  gson
Seppb
普兰能效平台开源版(后端)
Stars: ✭ 104 (-2.8%)
Mutual labels:  gson
Nulldefense
Removes invalid objects during Gson parsing which are marked as required, yet null/empty.
Stars: ✭ 41 (-61.68%)
Mutual labels:  gson
Todo
简洁清爽的Todo清单工具❤️ (MVP+okhttp3+retrofit+gson)
Stars: ✭ 93 (-13.08%)
Mutual labels:  gson
Bandcamp Api
API wrapper for querying band, album, and track data from bandcamp.com
Stars: ✭ 20 (-81.31%)
Mutual labels:  gson
Auto Value Bundle
Extends Autovalue to extract data from a bundle into a value object.
Stars: ✭ 36 (-66.36%)
Mutual labels:  gson
Moviefinderusingmvvm Android
🔥 MVVM + Clean Architecture + Best Practices | 🍿Movie Finder is a sample Android application 📱to search movies using OMDb API which is built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Kodein, Architecture Components, MVVM, Retrofit, Gson, Material Components) 😊😊😉
Stars: ✭ 66 (-38.32%)
Mutual labels:  gson
Easygank
💊 The project build framework based on the Rx series and MVP pattern.
Stars: ✭ 750 (+600.93%)
Mutual labels:  gson
Apiclient
A easy to use api client that combines the power of Retrofit, Realm, Gson, Rxjava and Retrolambda in a easy to use library for Java and Android
Stars: ✭ 100 (-6.54%)
Mutual labels:  gson
Jsonschema2pojo
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Stars: ✭ 5,633 (+5164.49%)
Mutual labels:  gson
Easyjson
Provides an unified JSON access API, you can adapter any JSON library to Gson, Jackson, FastJson with easyjson。 提供了一个JSON门面库,就像slf4j一样。easyjson本身不做json的操作,完全依赖于底层实现库。可以直接使用Easyjson的API,底层的JSON库随时可切换。也可以使用其中某个json的API,然后通过easyjson适配给其他的json库
Stars: ✭ 54 (-49.53%)
Mutual labels:  gson
Redgram For Reddit
An Open-Sourced Android Reddit Client
Stars: ✭ 106 (-0.93%)
Mutual labels:  gson
Rxcache
A local reactive cache for Java and Android. Now, it supports heap memory、off-heap memory and disk cache.
Stars: ✭ 102 (-4.67%)
Mutual labels:  gson
Kson
Gson TypeAdapter & Factory generator for Kotlin data classes
Stars: ✭ 90 (-15.89%)
Mutual labels:  gson

gson-jodatime-serialisers

What is it?

A set of Gson serialiser/deserialisers for dealing with Joda Time entities. Wherever possible, ISO 8601 string representations are used. The following Joda Time classes are handled:

  • DateMidnight
  • DateTime
  • DateTimeZone
  • Duration
  • Interval
  • Instant
  • LocalDate
  • LocalDateTime
  • LocalTime
  • Period

Getting it

<dependency>
  <groupId>com.fatboyindustrial.gson-jodatime-serialisers</groupId>
  <artifactId>gson-jodatime-serialisers</artifactId>
  <version>1.8.0</version>
</dependency>

Using it

final Gson gson = Converters.registerDateTime(new GsonBuilder()).create();
final DateTime original = new DateTime();

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

Java version

Gson Joda Time serialisers uses Java 6 (as of 1.1.0 it is no longer compiled against Java 7).

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].