semsol / arc2

ARC RDF Classes for PHP
Other
332 stars 89 forks source link

Add support for serializing to JSON-LD #73

Closed jaw111 closed 6 years ago

jaw111 commented 9 years ago

As JSON-LD is standardized for a while, would be nice to support it as a serialization format

craigdietrich commented 8 years ago

I'd really like to see this happen. EasyRDF's JSON-LD serializer (https://github.com/njh/easyrdf/blob/master/lib/Serialiser/JsonLd.php) could probably be used as a guide to creating an ARC2 serializer. (EasyRDF has an ARC2 extractor, but this seems like hitting a tack with a hammer to have both operating on the same application.)

jaw111 commented 7 years ago

Created PR #79 that implements JSON-LD serializer