Documentation ¶
Overview ¶
Package jsonld provides an encoder/decoder for JSON-LD quad format
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AutoConvertTypedString = true
AutoConvertTypedString allows to convert TypedString values to native equivalents directly while parsing. It will call ToNative on all TypedString values.
If conversion error occurs, it will preserve original TypedString value.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func NewReaderFromMap ¶
func NewReaderFromMap(o interface{}) *Reader
NewReaderFromMap returns quad reader for JSON-LD map object.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) SetLdContext ¶
func (w *Writer) SetLdContext(ctx interface{})
Click to show internal directories.
Click to hide internal directories.