项目作者: memfis19

项目描述 :
Check kotlin classes, types with jackson.
高级语言: Kotlin
项目地址: git://github.com/memfis19/KotlinJackson.git
创建时间: 2017-04-11T21:32:30Z
项目社区:https://github.com/memfis19/KotlinJackson

开源协议:

下载


KotlinJackson

Check kotlin classes and types with jackson and how it serializes/deserializes them.

Current data model explanation

Fake, Check classes implements IPolymorphic interface.
Such model was selected to demonstrate how complex polymorphic deserialization works.
Samples of using: List<IPolymorphic>, which in fact can be Fake or Check items.
Simple JacksonUnitTest verifies correct work of serializing/deserializing.

Inspired by

  1. https://github.com/FasterXML/jackson-module-kotlin/issues/52
  2. http://stackoverflow.com/questions/41849708/deserialize-json-with-jackson-with-complex-polymorphic-structure