-
Try out the new Jake: AI Coding Assistant for LabVIEW (beta)!
Get answers to questions about LabVIEW and discuss your code.
JSONtext Object Serialization by PNR - Toolkit for LabVIEW Download
Object serialization strategies for JSONtext
Version | 1.0.4.25 |
Released | Jul 13, 2024 |
Publisher | PNR |
License | BSD-3-Clause |
LabVIEW Version | LabVIEW>=17.0 |
Operating System | Windows, Mac, and Linux |
Dependencies | jdp_science_jsontext jdp_science_lib_common_utilities pnr_lib_labview_composition |
Used By | sas_lib_approval_tests |
Project links | Homepage Repository Discussion |
Description
This package provides object serialization strategies for JSONtext.
Object serialization ia a feature in JSONtext 1.5 and higher, which provides a class-based API to serialize objects from and to JSON. This package adds different strategies to the JSONtext palette.
Generic Object Serializer
Represents the entire inheritance hierarchy of an object as a single JSON object, optionally with type information for deserialization. Type information is produced by serialization binders, which can be replaced by custom implementations. The default serialization binder uses the fully qualified class name for the type name.
JSON Serializable Serializer
Only serializes classes that inherit from JSON Serializable that defines methods to serialize to JSON and deserialize from JSON to allow for better control over the serialization process. Objects that don't inherit from JSON Serializable will produce empty JSON objects "{ }".
Release Notes
- [#25] Changed minimum required version for LabVIEW Composition to 1.3.1. That version addressed an issue that resulted in errors when composing interfaces. ([@Niatross](https://github.com/Niatross))
- Changed minimum required version for JSONtext to 1.6.10.