Description
When a LabVIEW class contains a Variant in its private data, the JSON serialization process produces an incomplete or incorrect JSON string. As a result, deserialization fails because required data is missing. User Error or is it not able to handle Variants in Classes.
Steps to Reproduce
- Create a LabVIEW class with a
Variant element in the private data cluster.
- Populate the class instance with valid data (including the Variant).
- Serialize the object using
Generic Object Serializer (JSON mode).
- Attempt to deserialize the generated JSON string back into the original class.
Expected Behavior
- The serializer should produce a complete and valid JSON representation of the class, including the
Variant data.
Actual Behavior
- The generated JSON string is incomplete and does not contain all required data.
- During deserialization, an error occurs.

Description
When a LabVIEW class contains a
Variantin its private data, the JSON serialization process produces an incomplete or incorrect JSON string. As a result, deserialization fails because required data is missing. User Error or is it not able to handle Variants in Classes.Steps to Reproduce
Variantelement in the private data cluster.Generic Object Serializer(JSON mode).Expected Behavior
Variantdata.Actual Behavior