json-ld.net
json-ld.net copied to clipboard
@embed not supported?
@embed
doesn't seem to be supported? I have created an example of the expected behavior in JSON-LD playground.
Expected output:
{
"@context": {
"ex": "https://ex#"
},
"@id": "https://a",
"ex:createdBy": {
"@id": "https://b",
"ex:name": "Mads"
},
"ex:modifiedBy": {
"@id": "https://b",
"ex:name": "Mads"
}
}
Actual output (name only embedded once):
{
"@context": {
"ex": "https://ex#"
},
"@id": "https://a",
"ex:createdBy": {
"@id": "https://b",
"ex:name": "Mads"
},
"ex:modifiedBy": {
"@id": "https://b"
}
}