LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to handle undefined values in Unflatten from JSON?

Hello,

 

I'm following up this thread. Is it possible to achieve the following with the Unflatten from JSON function?

 

If not, is there any chace of getting the feature added to LabVIEW? The Unflatten from JSON function currently provides the following options:

  • Allow fields with null values (use default value)
  • Allow extra fields (discard value)

It would be very convenient to also get this option:

  • Allow missing fields (use default value)
Certified LabVIEW Developer
0 Kudos
Message 1 of 3
(3,227 Views)

Gee, this looks familier.   -->  http://forums.ni.com/t5/LabVIEW/Unflatten-from-Partial-incomplete-JSON-File/td-p/2921188

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 3
(3,215 Views)

Yes, I linked to that thread in my first sentence. 🙂 I even took the snippet from there!

 

Anyway, my question is slightly different -- it's about getting that feature incorporated into the built-in LabVIEW function, which would allow cleaner code thanks to adaptive input terminals.

 

(Although in hindsight, my thread title doesn't match the contents... oops...)

Certified LabVIEW Developer
0 Kudos
Message 3 of 3
(3,210 Views)