EasyRdf API Documentation
Class

EasyRdf_Serialiser_JsonLd

class EasyRdf_Serialiser_JsonLd extends EasyRdf_Serialiser

Class to serialise an EasyRdf_Graph to JSON-LD

Methods

__construct()

string serialise(EasyRdf_Graph $graph, string $format, array $options = array())

Details

at line 47
public __construct()

at line 63
public string serialise(EasyRdf_Graph $graph, string $format, array $options = array())

Parameters

EasyRdf_Graph $graph
string $format
array $options

Return Value

string

Exceptions

EasyRdf_Exception