Method
TsparqlResourceprint_jsonld
deprecated: 3.5
Declaration [src]
char*
tracker_resource_print_jsonld (
TrackerResource* self,
TrackerNamespaceManager* namespaces
)
Description [src]
Serialize all the information in resource as a JSON-LD document.
See http://www.jsonld.org/ for more information on the JSON-LD serialization format.
The namespaces object is used to expand any compact URI values. In most
cases you should pass the one returned by tracker_sparql_connection_get_namespace_manager()
from the connection that is the intended recipient of this data.
Deprecated since: 3.5
Use tracker_resource_print_rdf() instead.
Parameters
namespaces-
Type:
TrackerNamespaceManagerA set of prefixed URLs, or
NULLto use the Nepomuk set.The argument can be NULL.The data is owned by the caller of the method.