Popularity
0.6
Stable
Activity
0.0
Stable
8
1
0
Programming language: Kotlin
License: Apache License 2.0
Tags:
JSON
ext4klaxon alternatives and similar libraries
Based on the "JSON" category.
Alternatively, view ext4klaxon alternatives based on common mentions on social networks and blogs.
-
kotlinx.serialization
Kotlin multiplatform / multi-format serialization -
jackson-module-kotlin
Module that adds support for serialization/deserialization of Kotlin (http://kotlinlang.org) classes and data classes. -
Kotson
Gson for Kotlin, Kotson enables you to parse and write JSON with Google's Gson using a conciser and easier syntax. -
Smartype by mParticle
Json Schema as code, autocomplete for your data model!
Appwrite - The Open Source Firebase alternative introduces iOS support
Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!
Promo
appwrite.io
Do you think we are missing an alternative of ext4klaxon or a related project?
README
ext4klaxon
Type Extensions for Klaxon (Kotlin JSON library)
Current extensions:
- Long
- Int
- Enum
- Date
Long
Get Long, Double, Float, String as Int, without loosing precision when it is convertable
val i = jsonObject.intStrict("fieldName")
Int
Get Int, Double, Float or String as Long, when it is convertable
val l = jsonObject.intStrict("fieldName")
Enum
Convert any string to enum:
val e = jsonObject.enum<EnumType>("fieldName")
val e = jsonObject.enumFromValues("fieldName", Enum.values())
val e = jsonObject.enumFromFunction("fieldName", {f->function(f)})
Date
Get any whole Numeric as Date
val e = jsonObject.date("fieldName")
Download
ext4klaxon is under development.
Gradle:
compile 'com.fboldog.ext4klaxon:ext4klaxon:0.3.1'
or Maven:
<dependency>
<groupId>com.fboldog.ext4klaxon</groupId>
<artifactId>ext4klaxon</artifactId>
<version>0.3.1</version>
</dependency>