JSON: Difference between revisions
Content deleted Content added
m Move to correct position |
|||
Line 2,172:
{"foo":[1,2,3],"bar":"hello"}
</pre>
=={{header|PowerShell}}==
{{works with PowerShell v3 and higher}}
<lang PowerShell>[ordered]@{ "foo"= 1; "bar"= 10, "apples" } | convertto-json</lang>
{
"foo": 1,
"bar": [
10,
"apples"
]
}
=={{header|Python}}==
|