Table of Contents

Class Person

Namespace
ROCrates.Models
Assembly
ROCrates.Net.dll
public class Person : ContextEntity
Inheritance
Person
Inherited Members

Constructors

Person()

public Person()

Person(ROCrate?, string?, JsonObject?)

public Person(ROCrate? crate = null, string? identifier = null, JsonObject? properties = null)

Parameters

crate ROCrate
identifier string
properties JsonObject

Methods

Deserialize(string, ROCrate)

Create a Person from JSON properties.

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

Parameters

entityJson string

The JSON representing the Person

roCrate ROCrate

The RO-Crate for the Person

Returns

Person

The deserialised Person

Serialize()

Convert Person to JSON string.

public override string Serialize()

Returns

string

The Person as a JSON string.