Table of Contents

Method Parse

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

Parse(string)

Reads a manifest from its JSON text.

public static CadPluginManifest Parse(string json)

Parameters

json string

The text.

Returns

CadPluginManifest

The manifest.

Exceptions

ArgumentNullException

Thrown when the text is null.

FormatException

Thrown when the text is not JSON, has no name, has a minimum API version that is not a version, or has a snap's glyph or a setting that breaks a rule (the message says which).