LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Object to JSON Serialization - GCraftsman not in existence?

Solved!
Go to solution

Hello folks!

 

I'm trying to serialize an object hierarchy to JSON and deserialize it back to LabVIEW objects and ensuring that they hold their relationships. Say Vehicle is the parent class and has an Engine, while Car is the child of Vehicle.

 

So far I've had success with only one library: Gcraftsman JSON Object Serialization https://www.vipm.io/package/gcraftsman_lib_json_object_serialization/

 

Things work just fine in source code - but now I notice that NI is asking me to activate its license, and when I click to purchase, I go to a dead end.

Has anyone purchased this library before? Or does anyone have another open source alternative?

0 Kudos
Message 1 of 2
(171 Views)
Solution
Accepted by topic author Shehzaada

Tinkered around a bit with LabVIEW JSONText and LVClass Serializer - with Generic Object Serializer as the input object, configured to Inline as opposed to None, I've got the desired  effect. Thanks folks from JSONText!

Message 2 of 2
(138 Views)