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

Constructors

this
this(T params)

parameters to @jsonize may be specified in any order valid uses of @jsonize include: @jsonize @jsonize("foo") @jsonize(Jsonize.opt) @jsonize("bar", Jsonize.opt) @jsonize(Jsonize.opt, "bar")

Members

Variables

key
string key;

alternate name used to identify member in json

perform_in
JsonizeIn perform_in;

whether member is required during deserialization

perform_out
JsonizeOut perform_out;

whether serialized member

Meta