JsonInterface.SerializeToFile(List<Structure>, String, 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 millisecond timing precision mode.

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

 

Method Signature

JsonInterface.SerializeToFile(

List<Structure> listOfStructure,


String filename,


Variable format)

 

 

Arguments

listOfStructure


Description:

List of Structures to serialize.

 

 

filename


Description:

Filename to contain the serialized json data.

 

 

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.SerializeToFile(myListOfStructure1, myString2, myVariable1);

 

 

See also

JsonInterface Object

JsonInterface.SerializeToFile

JSON-Formatted Data Guide