21
User
Object
string
uid
string
firstname
string
lastname
int
age
array
favorite_colors
string
email
u::
[email protected]
{
“uid”:
1234,
“firstname”:
“Foo”,
“lastname”:
“Bar”,
“age”:
22,
“favorite_colors”:
[“green”,
“red”],
“email”:
“
[email protected]”
}
User
Object
string
uid
string
firstname
string
lastname
int
age
array
favorite_colors
string
email
set()
get()
Objects
Serialized
to
JSON
and
Back
u::
[email protected]
{
“uid”:
1234,
“firstname”:
“Foo”,
“lastname”:
“Bar”,
“age”:
22,
“favorite_colors”:
[“green”,
“red”],
“email”:
“
[email protected]”
}