Skip to content

Commit 444f823

Browse files
authored
Merge pull request #33 from marcelotto/patch-1
Fix wrong JSON::LD::API.expand example in README
2 parents cfc2701 + 89bb702 commit 444f823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ This gem implements an optimized streaming writer used for generating JSON-LD fr
4747
JSON::LD::API.expand(input) =>
4848

4949
[{
50-
"http://xmlns.com/foaf/0.1/name": ["Manu Sporny"],
51-
"http://xmlns.com/foaf/0.1/homepage": ["http://manu.sporny.org/"],
52-
"http://xmlns.com/foaf/0.1/avatar": ["http://twitter.com/account/profile_image/manusporny"]
50+
"http://xmlns.com/foaf/0.1/name": [{"@value"=>"Manu Sporny"}],
51+
"http://xmlns.com/foaf/0.1/homepage": [{"@value"=>"http://manu.sporny.org/"}],
52+
"http://xmlns.com/foaf/0.1/avatar": [{"@value": "http://twitter.com/account/profile_image/manusporny"}]
5353
}]
5454

5555
### Compact a Document

0 commit comments

Comments
 (0)