name

Attribute for overriding the field name during (de-)serialization.

name
(
string name
)

Examples

struct Test {
	@name("screen-size") int screenSize;
}

Meta