Created
October 17, 2019 10:58
-
-
Save mficzel/15be6b92dd0f90cb6029e34d429e3841 to your computer and use it in GitHub Desktop.
Fusion DSL json`...`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsonLd = json`{ | |
"@context": "http://schema.org", | |
"@type": "Organization", | |
"name": "Neos", | |
"url": "${__someExpression__}", | |
"contactPoint:$<Neos.Fusion:Map>": { | |
"items": "${__someExpression__}", | |
"itemRenderer": { | |
"@type": "ContactPoint" | |
"contactType": "${__someExpression__}", | |
"url": "${__someExpression__}" | |
} | |
} | |
}` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jsonLd = Neos.Fusion:DataStructure { | |
'@context' = "http://schema.org" | |
'@type' = "Organization" | |
name = "Neos" | |
url = ${__someExpression__} | |
contactPoint = Neos.Fusion:Map { | |
items = ${__someExpression__} | |
itemRenderer = Neos.Fusion:DataStructure { | |
"@type" = "ContactPoint" | |
contactType = ${__someExpression__} | |
url = ${__someExpression__} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment