JsonInterface.Serialize(List<Structure>, Variable) Method

Top 

Description

Specifies whether or not to generate JSON data with new lines and indentation.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

JsonInterface.Serialize(

List<Structure> listOfStructure,


Variable format)

 

 

Arguments

listOfStructure


Description:

List of Structures to serialize.

 

 

format


Description:

Specifies whether or not to generate JSON data with new lines and indentation.

Valid Values:

Value

Label

0

Concise

1

Formatted

 

 

 

 

Return Value

Type:

string

 

 

Returns the serialized form of the specified Structure.

 

Syntax

myString1 = myJsonInterface1.Serialize(myListOfStructure1, myVariable1);

 

 

See also

JsonInterface Object

JsonInterface.Serialize

JSON-Formatted Data Guide