Ruby Hash
0 / 1,000,000
JSON
Supported Ruby Hash Syntaxes
Symbol Shorthand
{
user: "john",
active: true
}
Rocket Syntax
{
:user => "john",
:active => true
}
String Keys
{
"user" => "john",
"active" => true
}
Mixed Syntax
{
user: "john",
:id => 123,
"email" => "a@b.com"
}