optional

Attribute marking a field as optional during deserialization.

@property
optional
()

Examples

struct Test {
	// does not need to be present during deserialization
	@optional int screenSize = 100;
}

Meta