Replies: 1 comment
-
OK.. so frame := map[string]interface{}{
"@context": map[string]interface{}{"@vocab": "https://schema.org/"},
"@type": "Dataset",
"@explicit": true,
"identifier": map[string]interface{}{"@default": "default value"},
"license": map[string]interface{}{"@default": "default value"},
"version": map[string]interface{}{"@default": "default value"},
} but still curious why the "" approach doesn't work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Given the code
When I run this I get
Putting that frame and JSON-LD into https://json-ld.org/playground/
returns
which is what I expected. Am I encoding the frame wrong in my code?
Beta Was this translation helpful? Give feedback.
All reactions