Class RootDataset
public class RootDataset : Dataset
- Inheritance
-
RootDataset
- Inherited Members
Constructors
RootDataset()
public RootDataset()
RootDataset(ROCrate?, string?, JsonObject?, string?, string?, bool, bool)
public RootDataset(ROCrate? crate = null, string? identifier = null, JsonObject? properties = null, string? source = null, string? destPath = null, bool fetchRemote = false, bool validateUrl = false)
Parameters
crate
ROCrateidentifier
stringproperties
JsonObjectsource
stringdestPath
stringfetchRemote
boolvalidateUrl
bool
Methods
Deserialize(string, ROCrate)
Create a RootDataset from JSON properties.
public static RootDataset? Deserialize(string entityJson, ROCrate roCrate)
Parameters
entityJson
stringThe JSON representing the RootDataset
roCrate
ROCrateThe RO-Crate for the RootDataset
Returns
- RootDataset
The deserialised RootDataset
Serialize()
Convert RootDataset to JSON string.
public override string Serialize()
Returns
- string
The RootDataset as a JSON string.