<html>
<head>
<script type="application/ld+json">
{
"@context": {
"foo": {"@id": "http://example.com/foo", "@container": "@list"}
},
"foo": [{"@value": "bar"}]
}
</script>
<script type="application/ld+json">
[
{"@context": {"ex": "http://example.com/"}, "ex:foo": {"@value": "foo"}},
{"@context": {"ex": "http://example.com/"}, "ex:bar": {"@value": "bar"}}
]
</script>
</head>
</html>