jsonkraken
Module Contents
alltypes
Module Contents
class
ArrayTransformationException
:
JsonKrakenException
Module Contents
ArrayTransformationException
(
array
:
Array
<
*
>
,
inner
:
Throwable
)
val
array
:
Array
<
*
>
val
inner
:
Throwable
class
CircularReferenceException
:
JsonKrakenException
Module Contents
CircularReferenceException
(
host
:
JsonContainer
,
intruder
:
JsonContainer
)
val
host
:
JsonContainer
val
intruder
:
JsonContainer
class
CollectionOperationOnJsonPrimitiveException
:
JsonKrakenException
Module Contents
CollectionOperationOnJsonPrimitiveException
(
primitive
:
JsonPrimitive
<
*
>
,
message
:
String
)
val
primitive
:
JsonPrimitive
<
*
>
open
class
DeserializationException
:
JsonKrakenException
Module Contents
DeserializationException
(
index
:
Int
,
raw
:
String
,
detail
:
String
,
snapshot
:
String
)
val
detail
:
String
val
index
:
Int
val
raw
:
String
val
snapshot
:
String
class
InvalidCastException
:
JsonKrakenException
Module Contents
InvalidCastException
(
from
:
KClass
<
out
JsonValue
>
,
to
:
KClass
<
*
>
)
val
from
:
KClass
<
out
JsonValue
>
val
to
:
KClass
<
*
>
class
InvalidIndexException
:
JsonKrakenException
Module Contents
InvalidIndexException
(
value
:
String
,
arr
:
JsonArray
)
val
arr
:
JsonArray
val
value
:
String
class
InvalidJsonTypeException
:
JsonKrakenException
Module Contents
InvalidJsonTypeException
(
value
:
Any
)
val
value
:
Any
class
InvalidKeyException
:
JsonKrakenException
Module Contents
InvalidKeyException
(
value
:
Any
?
)
val
value
:
Any
?
class
IterableTransformationException
:
JsonKrakenException
Module Contents
IterableTransformationException
(
iterable
:
Iterable
<
*
>
,
inner
:
Throwable
)
val
inner
:
Throwable
val
iterable
:
Iterable
<
*
>
class
JsonArray
:
JsonContainer
,
Iterable
<
JsonValue
>
Module Contents
JsonArray
(
vararg
items
:
Any
?
)
JsonArray
(
)
fun
add
(
value
:
Any
?
)
:
Unit
fun
clone
(
)
:
JsonArray
fun
get
(
index
:
Int
)
:
JsonValue
fun
insert
(
index
:
Int
,
value
:
Any
?
)
:
Unit
fun
isEmpty
(
)
:
Boolean
fun
iterator
(
)
:
MutableIterator
<
JsonValue
>
fun
remove
(
index
:
Int
)
:
Unit
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
val
size
:
Int
sealed
class
JsonBoolean
:
JsonPrimitive
<
Boolean
>
Module Contents
open
val
value
:
Boolean
sealed
class
JsonContainer
:
JsonValue
Module Contents
abstract
fun
clone
(
)
:
JsonValue
open
operator
fun
get
(
key
:
String
)
:
JsonValue
open
operator
fun
get
(
index
:
Int
)
:
JsonValue
abstract
fun
isEmpty
(
)
:
Boolean
fun
isNotEmpty
(
)
:
Boolean
open
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
open
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
abstract
val
size
:
Int
object
JsonFalse
:
JsonBoolean
object
JsonKraken
Module Contents
inline
fun
<
reified
T
:
JsonValue
>
deserialize
(
data
:
String
)
:
T
fun
serialize
(
value
:
Any
?
,
tabulation
:
Tabulation
=
Tabulation.None
)
:
String
inline
fun
<
reified
T
:
JsonValue
>
transform
(
value
:
Any
?
)
:
T
abstract
class
JsonKrakenException
:
Exception
Module Contents
JsonKrakenException
(
message
:
String
)
object
JsonNull
:
JsonPrimitive
<
Nothing
?
>
Module Contents
val
value
:
Nothing
?
class
JsonNumber
:
JsonPrimitive
<
String
>
Module Contents
JsonNumber
(
value
:
Number
)
JsonNumber
(
value
:
String
)
fun
equals
(
other
:
Any
?
)
:
Boolean
fun
hashCode
(
)
:
Int
var
value
:
String
class
JsonObject
:
JsonContainer
,
Iterable
<
Entry
<
String
,
JsonValue
>
>
Module Contents
JsonObject
(
vararg
properties
:
Pair
<
String
,
Any
?
>
)
JsonObject
(
)
fun
clone
(
)
:
JsonObject
fun
containsKey
(
key
:
String
)
:
Boolean
fun
get
(
key
:
String
)
:
JsonValue
fun
isEmpty
(
)
:
Boolean
operator
fun
iterator
(
)
:
MutableIterator
<
MutableEntry
<
String
,
JsonValue
>
>
val
keys
:
MutableSet
<
String
>
fun
remove
(
key
:
String
)
:
Unit
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
val
size
:
Int
val
values
:
MutableCollection
<
JsonValue
>
sealed
class
JsonPrimitive
<
T
>
:
JsonValue
Module Contents
open
operator
fun
get
(
key
:
String
)
:
JsonValue
open
operator
fun
get
(
index
:
Int
)
:
JsonValue
open
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
open
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
abstract
val
value
:
T
class
JsonString
:
JsonPrimitive
<
String
>
Module Contents
JsonString
(
value
:
String
)
fun
equals
(
other
:
Any
?
)
:
Boolean
fun
hashCode
(
)
:
Int
var
value
:
String
object
JsonTrue
:
JsonBoolean
sealed
class
JsonValue
Module Contents
inline
fun
<
reified
T
>
cast
(
)
:
T
abstract
operator
fun
get
(
key
:
String
)
:
JsonValue
abstract
operator
fun
get
(
index
:
Int
)
:
JsonValue
abstract
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
abstract
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
open
fun
toString
(
)
:
String
class
MapTransformationException
:
JsonKrakenException
Module Contents
MapTransformationException
(
map
:
Map
<
*
,
*
>
,
inner
:
Throwable
)
val
inner
:
Throwable
val
map
:
Map
<
*
,
*
>
class
NonCompliantNumberException
:
JsonKrakenException
Module Contents
NonCompliantNumberException
(
value
:
String
)
val
value
:
String
class
NonCompliantStringException
:
JsonKrakenException
Module Contents
NonCompliantStringException
(
value
:
String
,
message
:
String
)
val
value
:
String
class
NoSuchIndexException
:
JsonKrakenException
Module Contents
NoSuchIndexException
(
index
:
Int
,
arr
:
JsonArray
)
val
arr
:
JsonArray
val
index
:
Int
class
NoSuchPropertyException
:
JsonKrakenException
Module Contents
NoSuchPropertyException
(
key
:
String
,
obj
:
JsonObject
)
val
key
:
String
val
obj
:
JsonObject
enum
class
Tabulation
Module Contents
FourSpace
None
Tab
ThreeSpace
TwoSpace
val
value
:
String
class
UnexpectedJsonValueException
:
JsonKrakenException
Module Contents
UnexpectedJsonValueException
(
expected
:
KClass
<
out
JsonValue
>
,
actual
:
KClass
<
out
JsonValue
>
)
val
actual
:
KClass
<
out
JsonValue
>
val
expected
:
KClass
<
out
JsonValue
>
package
net.jemzart.jsonkraken
Module Contents
class
JsonArray
:
JsonContainer
,
Iterable
<
JsonValue
>
Module Contents
JsonArray
(
vararg
items
:
Any
?
)
JsonArray
(
)
fun
add
(
value
:
Any
?
)
:
Unit
fun
clone
(
)
:
JsonArray
fun
get
(
index
:
Int
)
:
JsonValue
fun
insert
(
index
:
Int
,
value
:
Any
?
)
:
Unit
fun
isEmpty
(
)
:
Boolean
fun
iterator
(
)
:
MutableIterator
<
JsonValue
>
fun
remove
(
index
:
Int
)
:
Unit
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
val
size
:
Int
sealed
class
JsonBoolean
:
JsonPrimitive
<
Boolean
>
Module Contents
open
val
value
:
Boolean
sealed
class
JsonContainer
:
JsonValue
Module Contents
abstract
fun
clone
(
)
:
JsonValue
open
operator
fun
get
(
key
:
String
)
:
JsonValue
open
operator
fun
get
(
index
:
Int
)
:
JsonValue
abstract
fun
isEmpty
(
)
:
Boolean
fun
isNotEmpty
(
)
:
Boolean
open
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
open
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
abstract
val
size
:
Int
object
JsonFalse
:
JsonBoolean
object
JsonKraken
Module Contents
inline
fun
<
reified
T
:
JsonValue
>
deserialize
(
data
:
String
)
:
T
fun
serialize
(
value
:
Any
?
,
tabulation
:
Tabulation
=
Tabulation.None
)
:
String
inline
fun
<
reified
T
:
JsonValue
>
transform
(
value
:
Any
?
)
:
T
object
JsonNull
:
JsonPrimitive
<
Nothing
?
>
Module Contents
val
value
:
Nothing
?
class
JsonNumber
:
JsonPrimitive
<
String
>
Module Contents
JsonNumber
(
value
:
Number
)
JsonNumber
(
value
:
String
)
fun
equals
(
other
:
Any
?
)
:
Boolean
fun
hashCode
(
)
:
Int
var
value
:
String
class
JsonObject
:
JsonContainer
,
Iterable
<
Entry
<
String
,
JsonValue
>
>
Module Contents
JsonObject
(
vararg
properties
:
Pair
<
String
,
Any
?
>
)
JsonObject
(
)
fun
clone
(
)
:
JsonObject
fun
containsKey
(
key
:
String
)
:
Boolean
fun
get
(
key
:
String
)
:
JsonValue
fun
isEmpty
(
)
:
Boolean
operator
fun
iterator
(
)
:
MutableIterator
<
MutableEntry
<
String
,
JsonValue
>
>
val
keys
:
MutableSet
<
String
>
fun
remove
(
key
:
String
)
:
Unit
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
val
size
:
Int
val
values
:
MutableCollection
<
JsonValue
>
sealed
class
JsonPrimitive
<
T
>
:
JsonValue
Module Contents
open
operator
fun
get
(
key
:
String
)
:
JsonValue
open
operator
fun
get
(
index
:
Int
)
:
JsonValue
open
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
open
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
abstract
val
value
:
T
class
JsonString
:
JsonPrimitive
<
String
>
Module Contents
JsonString
(
value
:
String
)
fun
equals
(
other
:
Any
?
)
:
Boolean
fun
hashCode
(
)
:
Int
var
value
:
String
object
JsonTrue
:
JsonBoolean
sealed
class
JsonValue
Module Contents
inline
fun
<
reified
T
>
cast
(
)
:
T
abstract
operator
fun
get
(
key
:
String
)
:
JsonValue
abstract
operator
fun
get
(
index
:
Int
)
:
JsonValue
abstract
operator
fun
set
(
key
:
String
,
value
:
Any
?
)
:
Unit
abstract
operator
fun
set
(
index
:
Int
,
value
:
Any
?
)
:
Unit
open
fun
toString
(
)
:
String
package
net.jemzart.jsonkraken.errors
Module Contents
abstract
class
JsonKrakenException
:
Exception
Module Contents
JsonKrakenException
(
message
:
String
)
package
net.jemzart.jsonkraken.errors.collections
Module Contents
class
CircularReferenceException
:
JsonKrakenException
Module Contents
CircularReferenceException
(
host
:
JsonContainer
,
intruder
:
JsonContainer
)
val
host
:
JsonContainer
val
intruder
:
JsonContainer
class
InvalidIndexException
:
JsonKrakenException
Module Contents
InvalidIndexException
(
value
:
String
,
arr
:
JsonArray
)
val
arr
:
JsonArray
val
value
:
String
class
NoSuchIndexException
:
JsonKrakenException
Module Contents
NoSuchIndexException
(
index
:
Int
,
arr
:
JsonArray
)
val
arr
:
JsonArray
val
index
:
Int
class
NoSuchPropertyException
:
JsonKrakenException
Module Contents
NoSuchPropertyException
(
key
:
String
,
obj
:
JsonObject
)
val
key
:
String
val
obj
:
JsonObject
package
net.jemzart.jsonkraken.errors.deserialization
Module Contents
open
class
DeserializationException
:
JsonKrakenException
Module Contents
DeserializationException
(
index
:
Int
,
raw
:
String
,
detail
:
String
,
snapshot
:
String
)
val
detail
:
String
val
index
:
Int
val
raw
:
String
val
snapshot
:
String
package
net.jemzart.jsonkraken.errors.primitives
Module Contents
class
CollectionOperationOnJsonPrimitiveException
:
JsonKrakenException
Module Contents
CollectionOperationOnJsonPrimitiveException
(
primitive
:
JsonPrimitive
<
*
>
,
message
:
String
)
val
primitive
:
JsonPrimitive
<
*
>
class
NonCompliantNumberException
:
JsonKrakenException
Module Contents
NonCompliantNumberException
(
value
:
String
)
val
value
:
String
class
NonCompliantStringException
:
JsonKrakenException
Module Contents
NonCompliantStringException
(
value
:
String
,
message
:
String
)
val
value
:
String
package
net.jemzart.jsonkraken.errors.purification
Module Contents
class
ArrayTransformationException
:
JsonKrakenException
Module Contents
ArrayTransformationException
(
array
:
Array
<
*
>
,
inner
:
Throwable
)
val
array
:
Array
<
*
>
val
inner
:
Throwable
class
InvalidKeyException
:
JsonKrakenException
Module Contents
InvalidKeyException
(
value
:
Any
?
)
val
value
:
Any
?
class
IterableTransformationException
:
JsonKrakenException
Module Contents
IterableTransformationException
(
iterable
:
Iterable
<
*
>
,
inner
:
Throwable
)
val
inner
:
Throwable
val
iterable
:
Iterable
<
*
>
class
MapTransformationException
:
JsonKrakenException
Module Contents
MapTransformationException
(
map
:
Map
<
*
,
*
>
,
inner
:
Throwable
)
val
inner
:
Throwable
val
map
:
Map
<
*
,
*
>
package
net.jemzart.jsonkraken.errors.transformation
Module Contents
class
InvalidCastException
:
JsonKrakenException
Module Contents
InvalidCastException
(
from
:
KClass
<
out
JsonValue
>
,
to
:
KClass
<
*
>
)
val
from
:
KClass
<
out
JsonValue
>
val
to
:
KClass
<
*
>
class
InvalidJsonTypeException
:
JsonKrakenException
Module Contents
InvalidJsonTypeException
(
value
:
Any
)
val
value
:
Any
class
UnexpectedJsonValueException
:
JsonKrakenException
Module Contents
UnexpectedJsonValueException
(
expected
:
KClass
<
out
JsonValue
>
,
actual
:
KClass
<
out
JsonValue
>
)
val
actual
:
KClass
<
out
JsonValue
>
val
expected
:
KClass
<
out
JsonValue
>
package
net.jemzart.jsonkraken.serializer
Module Contents
enum
class
Tabulation
Module Contents
FourSpace
None
Tab
ThreeSpace
TwoSpace
val
value
:
String