SalomonBrys / Kotson

Kotlin bindings for JSON manipulation via Gson
MIT License
709 stars 37 forks source link

Can specify default values and use nullable types in JsonElement delegates #19

Closed eygraber closed 7 years ago

SalomonBrys commented 7 years ago

Great work, thanks !

SalomonBrys commented 7 years ago

FYI: I've modified your code in Kotson 2.5.0 so that the default parameter is a () -> T instead of T.