jsonizer.common

Members

Enums

Jsonize
enum Jsonize

Shortcut for setting both JsonizeIn and JsonizeOut

JsonizeIgnoreExtraKeys
enum JsonizeIgnoreExtraKeys

Whether to silently ignore json keys that do not map to serialized members.

JsonizeIn
enum JsonizeIn

Control the strictness with which a field is deserialized

JsonizeOut
enum JsonizeOut

Control the strictness with which a field is serialized

Structs

JsonizeOptions
struct JsonizeOptions

Customize the behavior of toJSON and fromJSON.

jsonize
struct jsonize

use @jsonize to mark members to be (de)serialized from/to json use @jsonize to mark a single contructor to use when creating an object using extract use @jsonize("name") to make a member use the json key "name" use @jsonize(Jsonize.[yes/opt]) to choose whether the parameter is optional use @jsonize(JsonizeIn.[yes/opt/no]) to choose whether the parameter is optional for deserialization use @jsonize(JsonizeOut.[yes/opt/no]) to choose whether the parameter is optional for serialization

Meta