Dynamical data structure represented in JSON format.
- Since
0.1.0
- Companion
- class
trait Dynamic
class Object
trait Matchable
class Any
Value members
Concrete methods
@unused
Supports dynamic apply method.
Supports dynamic apply method.
- Returns
- Since
0.1.0
- Example
val struct = Struct(title = "apple", quantity = 3, edible=true, color=["green", "red", "green"])
Creates a Struct object from a JSON string.
Creates a Struct object from a JSON string.
- Value Params
- json
JSON string.
- Returns
Struct.s
- Since
0.1.0
Create an empty Struct represented by "{}".
Create an empty Struct represented by "{}".
- Returns
Empty Struct.
- Since
0.1.0