JsonInterface.MissingPropertyBehavior Property

Top 

Description

Specifies the behavior when there is a mismatch between the JSON data and the data defined in the Struct.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Attributes

Type:

integer

Access:

read/write

Default Value:

0 ( Ignore )

Valid Values:

Value

Label

0

Ignore

1

Report an error when there is JSON data that is not defined within the Struct.

2

Report an error when there is data defined in the Struct that is missing from the JSON data.

3

Report an error either when there JSON data that is not defined within the Struct or when there is data defined in the Struct that is missing from the JSON data.

 

Syntax

myVariable1 = myJsonInterface1.MissingPropertyBehavior;

 

myJsonInterface1.MissingPropertyBehavior = myVariable1;

 

See also

JsonInterface Object

JSON-Formatted Data Guide