Table of Contents

Class RootDataset

Namespace
ROCrates.Models
Assembly
ROCrates.Net.dll
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 ROCrate
identifier string
properties JsonObject
source string
destPath string
fetchRemote bool
validateUrl bool

Methods

Deserialize(string, ROCrate)

Create a RootDataset from JSON properties.

public static RootDataset? Deserialize(string entityJson, ROCrate roCrate)

Parameters

entityJson string

The JSON representing the RootDataset

roCrate ROCrate

The 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.