Skip to main content

Module syntax

Module syntax 

Source
Expand description

This library provide functions to parse JSON-LD contexts and print JSON-LD documents.

Re-exports§

pub use container::JsonLdContainerItem;
pub use container::JsonLdContainerValue;
pub use container::UnexpectedJsonLdContainerItem;
pub use context::JsonLdContext;
pub use context::JsonLdContextDocumentValue;
pub use context::JsonLdContextEntry;

Modules§

container
context
serde

Structs§

InvalidJsonLdCompactIri
InvalidJsonLdDirection
InvalidLangTag
Invalid langtag error.
JsonLdCompactIri
JsonLdCompactIriBuf
JsonLdKeywordType
LangTag
Any language tag (normal, private use or grandfathered).
LangTagBuf
Owned langtag.
NotAJsonLdKeyword

Enums§

JsonLdDirection
Internationalized string direction.
JsonLdExpandable
JsonLdExpandableRef
JsonLdKeyword
JSON-LD keywords.
JsonLdNullable
Value that can be null.

Traits§

JsonLdCompare
JSON-LD comparison.

Functions§

from_value
Deserializes the JSON value into an instance of type T.
is_keyword
is_keyword_like
to_value
Serializes the given value into a JSON JsonValue.