Class RdfJsonParser
Parser for RDF/JSON Syntax.
Inheritance
System.Object
RdfJsonParser
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Parsing
Assembly: dotNetRDF.dll
Syntax
public class RdfJsonParser : IRdfReader
Methods
| Improve this Doc View SourceLoad(IGraph, StreamReader)
Read RDF/JSON Syntax from some Stream into a Graph.
Declaration
public void Load(IGraph g, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to read into. |
System.IO.StreamReader | input | Stream to read from. |
Load(IGraph, TextReader)
Read RDF/JSON Syntax from some Input into a Graph.
Declaration
public void Load(IGraph g, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to read into. |
System.IO.TextReader | input | Input to read from. |
Load(IGraph, String)
Read RDF/Json Syntax from some File into a Graph.
Declaration
public void Load(IGraph g, string filename)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to read into. |
System.String | filename | File to read from. |
Load(IRdfHandler, StreamReader)
Read RDF/JSON Syntax from some Stream using a RDF Handler.
Declaration
public void Load(IRdfHandler handler, StreamReader input)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
System.IO.StreamReader | input | Stream to read from. |
Load(IRdfHandler, TextReader)
Read RDF/JSON Syntax from some Input using a RDF Handler.
Declaration
public void Load(IRdfHandler handler, TextReader input)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
System.IO.TextReader | input | Input to read from. |
Load(IRdfHandler, String)
Read RDF/JSON Syntax from a file using a RDF Handler.
Declaration
public void Load(IRdfHandler handler, string filename)
Parameters
Type | Name | Description |
---|---|---|
IRdfHandler | handler | RDF Handler to use. |
System.String | filename | File to read from. |
ToString()
Gets the String representation of the Parser which is a description of the syntax it parses.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
| Improve this Doc View SourceWarning
Event which is raised if there's a non-fatal issue with the RDF/Json Syntax
Declaration
public event RdfReaderWarning Warning
Event Type
Type | Description |
---|---|
RdfReaderWarning |