Table of Contents

Method Parse

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Parse(string)

Reads a standard from its JSON text.

public static CadStandard Parse(string json)

Parameters

json string

The text of the file.

Returns

CadStandard

The standard.

Exceptions

ArgumentNullException

Thrown when the text is null.

ArgumentException

Thrown when the text is not JSON, is not a standard of this version, has a member the schema does not know, or holds a value out of range: the message names the member.