Documentation ¶
Overview ¶
Package cquads implements parsing N-Quads like line-based syntax for RDF datasets.
N-Quad parsing is performed as based on a simplified grammar derived from the N-Quads grammar defined by http://www.w3.org/TR/n-quads/.
For a complete definition of the grammar, see cquads.rl.
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 ¶
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder implements simplified N-Quad document parsing.
func NewDecoder ¶
NewDecoder returns an N-Quad decoder that takes its input from the provided io.Reader.
Click to show internal directories.
Click to hide internal directories.