Content deleted Content added
→Windows PowerShell: copy editing |
→Data serialization formats support: copy editing |
||
Line 2,013:
Many data serialization formats also support associative arrays (see [[Comparison of data serialization formats#Syntax comparison of human-readable formats|this table]])
===
In [[JSON]], associative arrays are also referred to as objects. Keys can only be strings.
<syntaxhighlight lang=JavaScript>
{
Line 2,023 ⟶ 2,024:
</syntaxhighlight>
===
[[YAML]] associative arrays are also called map elements or key-value pairs. YAML places no restrictions on the
▲YAML associative arrays are also called map elements or key-value pairs. YAML places no restrictions on the type of keys; in particular, they are not restricted to being scalar or string values.
<syntaxhighlight lang=YAML>
|