C# Class VDS.RDF.Writing.JsonLdWriter

Inheritance: IRdfWriter
Exibir arquivo Open project: alien-mcl/URSA

Public Methods

Method Description
JsonLdWriter ( ) : JsonLD.Core

Initializes a new instance of the JsonLdWriter class.

JsonLdWriter ( string context ) : JsonLD.Core

Initializes a new instance of the JsonLdWriter class.

Save ( IGraph graph, TextWriter output ) : void
Save ( IGraph graph, string filename ) : void

Private Methods

Method Description
GetLists ( IGraph graph ) : List>.IDictionary
IsListNode ( INode subject, IGraph graph ) : bool
MakeExpandedForm ( IGraph graph ) : JToken
MakeList ( List nodes = null ) : JToken
MakeLiteralObject ( ILiteralNode node ) : Newtonsoft.Json.Linq.JObject
MakeObject ( INode node ) : JToken

Method Details

JsonLdWriter() public method

Initializes a new instance of the JsonLdWriter class.
public JsonLdWriter ( ) : JsonLD.Core
return JsonLD.Core

JsonLdWriter() public method

Initializes a new instance of the JsonLdWriter class.
public JsonLdWriter ( string context ) : JsonLD.Core
context string Optional JSON-LD context to use for serialization.
return JsonLD.Core

Save() public method

public Save ( IGraph graph, TextWriter output ) : void
graph IGraph
output System.IO.TextWriter
return void

Save() public method

public Save ( IGraph graph, string filename ) : void
graph IGraph
filename string
return void