Sign In

JSONtext Object Serialization by PNR - Toolkit for LabVIEW Download

Object serialization strategies for JSONtext

* 2 ↓112
 screenshot
Version1.0.1.22
ReleasedJul 02, 2021
Publisher PNR
LicenseBSD-3-Clause
LabVIEW VersionLabVIEW>=17.0
Operating System Windows, Mac, and Linux
Project links Homepage   Repository  

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

1.0.1.22 (Jul 02, 2021)

- [#19] Fixed an issue in "Generic Object Serializer", which resulted in errors not being reported to the caller.
- [#20] Fixed an issue in "Generic Object Serializer", which resulted in error 1400 when attempting to unflatten an array of objects.

Contributors: @logmanoriginal

Install with VIPM Download Package

Note, you must have the VIPM Desktop app to install this package into LabVIEW.

Versions

  Post an Idea   Post a Resource

Recent Posts