to_dict
Description
Examples
p is Person
p.to_dict({first_name, last_name})
// => {'first_name': 'Thorben', 'last_name': 'Croisé'}p is Person
p.to_dict({first_name: 'givenName', last_name: 'familyName'})
// => {'givenName': 'Thorben', 'familyName': 'Croisé'}p is Person
p.to_dict({first_name, last_name: 'familyName'})
// => {'first_name': 'Thorben', 'familyName': 'Croisé'}Last updated
Was this helpful?
