@@ -206,7 +206,7 @@ const context = {
206
206
};
207
207
```
208
208
209
- ### [ compact] ( http ://json-ld.org/spec/latest/json-ld/#compacted-document-form)
209
+ ### [ compact] ( https ://json-ld.org/spec/latest/json-ld/#compacted-document-form)
210
210
211
211
``` js
212
212
// compact a document according to a particular context
@@ -226,7 +226,7 @@ const compacted = await jsonld.compact(
226
226
' http://example.org/doc' , ' http://example.org/context' , ... );
227
227
```
228
228
229
- ### [ expand] ( http ://json-ld.org/spec/latest/json-ld/#expanded-document-form)
229
+ ### [ expand] ( https ://json-ld.org/spec/latest/json-ld/#expanded-document-form)
230
230
231
231
``` js
232
232
// expand a document, removing its context
@@ -243,15 +243,15 @@ const expanded = await jsonld.expand(compacted);
243
243
const expanded = await jsonld .expand (' http://example.org/doc' , ... );
244
244
```
245
245
246
- ### [ flatten] ( http ://json-ld.org/spec/latest/json-ld/#flattened-document-form)
246
+ ### [ flatten] ( https ://json-ld.org/spec/latest/json-ld/#flattened-document-form)
247
247
248
248
``` js
249
249
// flatten a document
250
250
const flattened = await jsonld .flatten (doc);
251
251
// output has all deep-level trees flattened to the top-level
252
252
```
253
253
254
- ### [ frame] ( http ://json-ld.org/spec/latest/json-ld-framing/#introduction)
254
+ ### [ frame] ( https ://json-ld.org/spec/latest/json-ld-framing/#introduction)
255
255
256
256
``` js
257
257
// frame a document
@@ -384,7 +384,7 @@ Source
384
384
The source code for the JavaScript implementation of the JSON-LD API
385
385
is available at:
386
386
387
- http ://github.com/digitalbazaar/jsonld.js
387
+ https ://github.com/digitalbazaar/jsonld.js
388
388
389
389
Tests
390
390
-----
0 commit comments