# Functions
AddValue adds a value to a subject.
Arrayify returns v, if v is an array, otherwise returns an array containing v as the only element.
CloneDocument returns a cloned instance of the given document.
CompareShortestLeast compares two strings first based on length and then lexicographically.
CompareValues compares two JSON-LD values for equality.
CopyContext creates a full copy of the given context.
DeepCompare returns true if v1 equals v2.
DocumentFromReader returns a document containing the contents of the JSON resource, streamed from the given Reader.
FilterSubject returns true if the given node matches the given frame.
FilterSubjects returns a map of all of the nodes that match a parsed frame.
GetCanonicalDouble returns a canonical string representation of a float64 number.
GetFrameFlag gets the frame flag value for the given flag name.
GetKeys returns all keys in the given object.
GetKeysString returns all keys in the given map[string]string.
GetOrderedKeys returns all keys in the given object as a sorted list.
HasValue determines if the given value is a property of the given subject.
No description provided by the author
IsAbsoluteIri returns true if the given value is an absolute IRI, false if not.
IsBlankNode returns true if the given node is a blank node.
IsBlankNode returns true if the given value is a blank node.
IsGraph returns true if the given value is a graph.
IsIRI returns true if the given node is an IRI node.
IsKeyword returns whether or not the given value is a keyword.
IsList returns true if the given value is a @list.
IsLiteral returns true if the given node is a literal node.
IsReferencedOnce helps to solve https://github.com/json-ld/json-ld.org/issues/357 by identifying nodes with just one reference.
IsRelativeIri returns true if the given value is a relative IRI, false if not.
IsSimpleGraph returns true if the given value is a simple @graph.
IsSubject returns true if the given value is a subject with properties.
IsSubjectReference returns true if the given value is a subject reference.
IsURL check if the string is an URL.
IsValue returns true if the given value is a JSON-LD value.
MergeValue adds a value to a subject.
NewBlankNode creates a new instance of BlankNode.
NewCachingDocumentLoader creates a new instance of CachingDocumentLoader.
NewContext creates and returns a new Context object.
NewDefaultDocumentLoader creates a new instance of DefaultDocumentLoader.
NewFramingContext creates and returns as new framing context.
NewIdentifierIssuer creates and returns a new IdentifierIssuer.
NewIRI creates a new instance of IRI.
NewJsonLdApi creates a new instance of JsonLdApi.
NewJsonLdError creates a new instance of JsonLdError.
NewJsonLdOptions creates and returns new instance of JsonLdOptions with the given base.
NewJsonLdProcessor creates an instance of JsonLdProcessor.
NewLiteral creates a new instance of Literal.
NewNodeMapNode creates a new instance of NodeMapNode.
No description provided by the author
NewPermutator creates a new instance of Permutator.
NewQuad creates a new instance of Quad.
NewRDFDataset creates a new instance of RDFDataset.
NewRFC7324CachingDocumentLoader creates a new RFC7324CachingDocumentLoader.
NewUsagesNode creates a new instance of UsagesNode.
ParseLinkHeader parses a link header.
ParseNQuads parses RDF in the form of N-Quads.
ParseNQuadsFrom parses RDF in the form of N-Quads from io.Reader, []byte or string.
ParseURL parses a string URL into JsonLdUrl struct.
PrintDocument prints a JSON-LD document.
RdfToObject converts an RDF triple object to a JSON-LD object.
RemoveBase removes base URL from the given IRI.
RemovePreserve removes the @preserve keywords as the last step of the framing algorithm.
RemoveValue removes a value from a subject.
Resolve the given path against the given base URI.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
nolint:stylecheck.
nolint:stylecheck.
nolint:stylecheck.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
non spec related errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
No description provided by the author
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
===========
The URL validation logic below was borrowed from github.com/asaskevich/govalidator package.
# Structs
BlankNode represents a blank node value.
CachingDocumentLoader is an overlay on top of DocumentLoader instance which allows caching documents as soon as they get retrieved from the underlying loader.
Context represents a JSON-LD context and provides easy access to specific keys and operations.
DefaultDocumentLoader is a standard implementation of DocumentLoader which can retrieve documents via HTTP.
EmbedNode represents embed meta info.
FramingContext stores framing state.
IdentifierIssuer issues unique identifiers, keeping track of any previously issued identifiers.
IRI represents an IRI value.
JsonLdApi exposes internal functions used by JsonLdProcessor.
JsonLdError is a JSON-LD error as defined in the spec.
JsonLdOptions type as specified in the JSON-LD-API specification: http://www.w3.org/TR/json-ld-api/#the-jsonldoptions-type.
JsonLdProcessor implements the JsonLdProcessor interface, see http://www.w3.org/TR/json-ld-api/#the-jsonldprocessor-interface.
JsonLdUrl represents a URL split into individual components for easy manipulation.
Literal represents a literal value.
NodeMapNode.
No description provided by the author
NQuadRDFSerializer parses and serializes N-Quads.
Permutator.
Quad represents an RDF quad.
RDFDataset is an internal representation of an RDF dataset.
RemoteDocument is a document retrieved from a remote source.
RFC7324CachingDocumentLoader respects RFC7324 caching headers in order to cache effectively.
No description provided by the author
TurtleRDFSerializer parses and serializes Turtle data.
UsagesNode is a helper class for node usages.
# Interfaces
DocumentLoader knows how to load remote documents.
Node is the value of a subject, predicate or object i.e.
RDFSerializer can serialize and de-serialize RDFDatasets.
RDFSerializerTo can serialize RDFDatasets into io.Writer.
# Type aliases
No description provided by the author
ErrorCode is a JSON-LD error code as per spec.
ShortestLeast is a struct which allows sorting using CompareShortestLeast function.