SalomonBrys / Kotson

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

Add convenience JsonObject `addProperty` methods #21

Closed ColinHebert closed 7 years ago

ColinHebert commented 7 years ago

Add a few addProperty methods (for JsonElement and Any with a provided context to serialize) as well as addPropertyIfNotNull to make creation of custom JsonObject clearer

SalomonBrys commented 7 years ago

Thanks again ;)