UNPKG
@rdfjs/formats
Version:
latest (4.0.1)
4.0.1
4.0.0
Bundle of RDF/JS parsers and serializers
github.com/rdfjs-base/formats
rdfjs-base/formats
@rdfjs/formats
/
lib
/
JsonLdSerializer.js
10 lines
(7 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
import
JsonLdSerializerBase
from
'@rdfjs/serializer-jsonld'
class
JsonLdSerializer
extends
JsonLdSerializerBase
{
constructor
(
{ ...args } = {}
) {
super
({ ...args,
encoding
:
'string'
}) } }
export
default
JsonLdSerializer