Crate json_ld_syntax

Source
Expand description

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

Re-exports§

pub use container::Container;
pub use container::ContainerKind;
pub use context::Context;
pub use context::ContextDocument;
pub use context::ContextEntry;

Modules§

container
context
object
parse
print

Structs§

CompactIri
CompactIriBuf
InvalidCompactIri
InvalidDirection
InvalidLangTag
KeywordType
LangTag
Any language tag (normal, private use or grandfathered).
LangTagBuf
Owned LangTag.
LenientLangTag
Language tag that may not be well-formed.
LenientLangTagBuf
Owned language tag that may not be well-formed.
NotAKeyword
Number
Lexical JSON number.
Object
Object.
Unexpected
Unordered
Wrapper to view a value without considering the order of the objects entries.

Enums§

Direction
Internationalized string direction.
ErrorCode
Error code.
Expandable
ExpandableRef
Keyword
JSON-LD keywords.
Kind
Value kind.
Nullable
Value that can be null.
Value
JSON Value.

Traits§

BorrowUnordered
Compare
JSON-LD comparison.
IntoJson
IntoJsonWithContext
Parse
Print
Print methods.
TryFromJson
UnorderedEq
UnorderedHash
UnorderedPartialEq

Functions§

is_keyword
is_keyword_like

Type Aliases§

NumberBuf
Number buffer.
String
String.