JSON-LD.ex v0.2.2 JSON.LD View Source
Link to this section Summary
Functions
Compacts the given input according to the steps in the JSON-LD Compaction Algorithm
Generator function for JSON.LD.Contexts
The RDF.Serialization.Decoder module for the serialization format
The RDF.Serialization.Encoder module for the serialization format
Expands the given input according to the steps in the JSON-LD Expansion Algorithm
The usual file extension for the serialization format
Flattens the given input according to the steps in the JSON-LD Flattening Algorithm
An IRI of the serialization format
Returns if the given value is a JSON-LD keyword
The set of all JSON-LD keywords
The MIME type of the serialization format
An name atom of the serialization format
Generator function for JSON-LD node maps
A map with the supported options of the Encoder and Decoder for the serialization format
Link to this section Functions
Compacts the given input according to the steps in the JSON-LD Compaction Algorithm.
Compaction is the process of applying a developer-supplied context to shorten IRIs to terms or compact IRIs and JSON-LD values expressed in expanded form to simple values such as strings or numbers. Often this makes it simpler to work with document as the data is expressed in application-specific terms. Compacted documents are also typically easier to read for humans.
— https://www.w3.org/TR/json-ld/#compacted-document-form
Details at https://www.w3.org/TR/json-ld-api/#compaction-algorithms
Generator function for JSON.LD.Contexts.
You can either pass a map with a "@context" key having the JSON-LD context
object its value, or the JSON-LD context object directly.
The RDF.Serialization.Decoder module for the serialization format.
Callback implementation for RDF.Serialization.Format.decoder/0.
The RDF.Serialization.Encoder module for the serialization format.
Callback implementation for RDF.Serialization.Format.encoder/0.
Expands the given input according to the steps in the JSON-LD Expansion Algorithm.
Expansion is the process of taking a JSON-LD document and applying a
@contextsuch that all IRIs, types, and values are expanded so that the@contextis no longer necessary.
— https://www.w3.org/TR/json-ld/#expanded-document-form
Details at http://json-ld.org/spec/latest/json-ld-api/#expansion-algorithm
The usual file extension for the serialization format.
Callback implementation for RDF.Serialization.Format.extension/0.
Flattens the given input according to the steps in the JSON-LD Flattening Algorithm.
Flattening collects all properties of a node in a single JSON object and labels all blank nodes with blank node identifiers. This ensures a shape of the data and consequently may drastically simplify the code required to process JSON-LD in certain applications.
— https://www.w3.org/TR/json-ld/#flattened-document-form
Details at https://www.w3.org/TR/json-ld-api/#flattening-algorithms
An IRI of the serialization format.
Callback implementation for RDF.Serialization.Format.id/0.
Returns if the given value is a JSON-LD keyword.
The set of all JSON-LD keywords.
see https://www.w3.org/TR/json-ld/#syntax-tokens-and-keywords
The MIME type of the serialization format.
Callback implementation for RDF.Serialization.Format.media_type/0.
An name atom of the serialization format.
Callback implementation for RDF.Serialization.Format.name/0.
Generator function for JSON-LD node maps.
A map with the supported options of the Encoder and Decoder for the serialization format.
Callback implementation for RDF.Serialization.Format.options/0.