Last active
April 18, 2023 14:42
-
-
Save justin2004/71acf9d961003764b092e8779361b540 to your computer and use it in GitHub Desktop.
it is not safe to interpret jsonld as vanilla json in all cases
This file contains 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
the 2 files below are equivalent when interpreted as jsonld but they are not equivalent vanilla json files. |
This file contains 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
{ | |
"@context": "http://schema.org/", | |
"type": "Person", | |
"name": "Jane Doe" | |
} |
This file contains 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
{ | |
"@context": "http://schema.org/", | |
"@type": [ | |
"http://schema.org/Person" | |
], | |
"http://schema.org/name": [ | |
{ | |
"@value": "Jane Doe" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment