CommandExtensions.FromJson Method (String, Boolean)

Returns a Command that represents the specified JSON String.

Namespace:  TcHmiSrv.Core.Tools.Json.Extensions
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static Command FromJson(
    string value,
    bool enableAdvancedConversions
)

Parameters

value

Type: System.String
The JSON String to convert into an instance of type Command.

enableAdvancedConversions

Type: System.Boolean
true to enabled advanced conversions; otherwise, false.

Return Value

Type: Command
A Command that represents value.

Reference

CommandExtensions Class

FromJson Overload

TcHmiSrv.Core.Tools.Json.Extensions Namespace