TcHmiJsonSerializerSerialize(JsonWriter, Object, Boolean, Boolean) Method

Serializes the specified Object to an equivalent JSON String using the specified JsonWriter , Type and JsonSerializerSettings .


Namespace: TcHmiSrv.Core.Tools.Json.Newtonsoft
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public static void Serialize(
    JsonWriter writer,
    Object value,
    bool format,
    bool enableAdvancedConversions
)

Parameters

writer  JsonWriter

The JsonWriter that is used to write the JSON String.

value  Object

The Object to convert.

format  Boolean

true to format the JSON String by indenting; otherwise, false.

enableAdvancedConversions  Boolean

true to enabled advanced conversions; otherwise, false.

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiJsonSerializer Class Serialize Overload TcHmiSrv.Core.Tools.Json.Newtonsoft Namespace

Copyright © Beckhoff Automation GmbH & Co. KG