UseCaseJsonTable Class

A table of a use case diagram that shows JSON data: a row per value, with its path, such as items[0].name.

public sealed class UseCaseJsonTable : UseCaseDiagramElement
Inheritance
UseCaseDiagramElement UseCaseJsonTable

Constructors

NameDescription
UseCaseJsonTable(string, string)Initializes a new instance of the UseCaseJsonTable class.

UseCaseJsonTable(string, string)

UseCaseJsonTable.cs

Initializes a new instance of the UseCaseJsonTable class.

public UseCaseJsonTable(string id, string json)

Parameters

id string
The identifier, shown as the title of the table.
json string
The data: a JSON object.

Exceptions

ArgumentException
json is not a JSON object.

Properties

NameDescription
JsonGets or sets the data: a JSON object, whose properties are shown in order.

Gets or sets the data: a JSON object, whose properties are shown in order.

public string Json { get; set; }

Property value

string

Exceptions

ArgumentException
The value is not a JSON object.