These docs are for v1.3.0. Click to read the latest docs for v1.6.

EOSLIB_SERIALIZE

Defines serialization and deserialization for a class

Parameters

  • TYPE - the class to have its serialization and deserialization defined
  • MEMBERS - a sequence of member names to be serialized (field1)(field2)(field3)

Example

EOSLIB_SERIALIZE( address, (account_name)(first_name)(last_name)(street)(city)(state) )