Function name

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

Prototype

NameAttribute name(
  string name
);

Example

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

Authors

Sönke Ludwig

Copyright

© 2013-2014 rejectedsoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.