C# Class VDS.RDF.Writing.JsonLdWriter

Inheritance: IRdfWriter
Afficher le fichier Open project: alien-mcl/URSA

Méthodes publiques

Méthode 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

Méthode 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 méthode

Initializes a new instance of the JsonLdWriter class.
public JsonLdWriter ( ) : JsonLD.Core
Résultat JsonLD.Core

JsonLdWriter() public méthode

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

Save() public méthode

public Save ( IGraph graph, TextWriter output ) : void
graph IGraph
output System.IO.TextWriter
Résultat void

Save() public méthode

public Save ( IGraph graph, string filename ) : void
graph IGraph
filename string
Résultat void