Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ValueObject

Index

Properties

Properties

Optional @id

@id: Iri

The unique identity of the value in the domain. This is only used if the value is mutable; in practice this applies only to shared data types.

experimental

Optional @language

@language: undefined | string

Used to specify the language for a particular string value or the default language of a JSON-LD document.

Optional @type

@type: Iri

Used to set the data type of the typed value.

see

JSON-LD typed-values

see

JSON-LD type-coercion

@value

@value: any

Used to specify the data that is associated with a particular property in the graph. Note that:

  • in json-rql a @value will never be a Variable.
  • m-ld allows a @value to be any JSON-serialisable type, to allow for custom datatypes. If a value that is not a string, number or boolean is used and there is no corresponding custom datatype, a TypeError may be thrown.
see

JSON-LD typed-values

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method
  • Protected method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld - v0.10.0 Source code licensed MIT. Privacy policy