Docs.rs
  • json-ld-syntax-0.9.0-beta
    • json-ld-syntax 0.9.0-beta
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • timothee-haudebourg
    • Dependencies
      • contextual ^0.1.3 normal
      • decoded-char ^0.1.0 normal
      • derivative ^2.2.0 normal
      • hashbrown ^0.12.1 normal
      • indexmap ^1.9.1 normal
      • iref ^2.2 normal
      • json-syntax ^0.8.13 normal
      • langtag ^0.3.2 normal
      • locspan ^0.7.9 normal
      • locspan-derive ^0.5.2 normal
      • rdf-types ^0.12 normal
      • smallvec ^1.9 normal
    • Versions
    • 11.16% of the crate is documented
  • Go to latest stable release
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate json_ld_syntax

logo

Crate json_ld_syntax

  • Version 0.9.0-beta
  • All Items
  • Re-exports
  • Modules
  • Macros
  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Definitions

Crates

  • json_ld_syntax
?
Change settings

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 container::ContainerRef;
pub use context::Context;

Modules

container
context
object
parse

Macros

json
Constructs a Loc<json_syntax::Value, (), ()> from a JSON literal.

Structs

CompactIri
CompactIriBuf
Entry
InvalidCompactIri
KeywordType
NotAKeyword
Object
Object.
Traverse
TraverseStripped
Unexpected
Unordered
Wrapper to view a value without considering the order of the objects entries.

Enums

ContextRef
Reference to context.
Direction
Internationalized string direction.
ErrorCode
Error code.
Expandable
ExpandableRef
FragmentRef
Keyword
JSON-LD keywords.
Kind
Value kind.
LenientLanguageTag
Language tag that may not be well-formed.
LenientLanguageTagBuf
Language tag buffer that may not be well-formed.
Nullable
Value that can be null.
StrippedFragmentRef
SubFragments
Value
Value.

Constants

NUMBER_CAPACITY
Number buffer stack capacity.
SMALL_STRING_CAPACITY
String stack capacity.

Traits

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

Functions

is_keyword
is_keyword_like

Type Definitions

Array
Array.
MetaValue
Value wrapped inside a locspan::Meta container.
NumberBuf
Number buffer.
String
String.

Loading search results...