ValueExtensionsToJson(Value, Boolean) Method
Returns an unformatted JSON String that represents the current Value.
Namespace: TcHmiSrv.Core.Tools.Json.Extensions
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version:
3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9
Syntax
C#
public static string ToJson(
this Value value,
bool format
)Parameters
|
value Value | |
|
format Boolean |
true to format the JSON String by indenting; otherwise, false. |
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Value. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Version Information
Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0
Reference
ValueExtensions Class ToJson Overload TcHmiSrv.Core.Tools.Json.Extensions Namespace
Copyright © Beckhoff Automation GmbH & Co. KG