From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

JDP Science Tools

cancel
Showing results for 
Search instead for 
Did you mean: 

BETA version of JSONtext 1.5.0

This is a beta version of JSONtext (1.5.0).  

 

Provided for testing; not for production code.

 

Contains:

  • #77: Comments accepted in input in /*inline*/ and //end_line forms
  • #78: Permissive treatment of commas (following HJSON) to handle common User error
  • #56: Hook to allow custom flattening of LabVIEW Objects
  • #67: Get single element as 1-element LabVIEW array
  • #65: redo error codes for conversion errors 
  • #58: dynamic-sized JSON Object from Array-of-Clusters with <JOBJ> tag
  • Other Issues: #72,#73

 

 

Message 1 of 6
(2,956 Views)

Forgot to include an example for Comments and Comma handling, but JSONtext can now deal with:

 

// Supports Comments

{

"a":1     // like this

"b":2     /*or this style of

                 multiline comment*/

"c": 3    /*oh, and notice I'm forgetting some commas A new line will serve as a comma, similar to HJSON*/

"d":4,   // except I've foolishly left a trailing one at the end

}




0 Kudos
Message 2 of 6
(2,947 Views)

1.5.1 with bug fixes (still beta, not for production code):

 

0 Kudos
Message 3 of 6
(2,856 Views)
0 Kudos
Message 4 of 6
(2,828 Views)

1.5.3 as submitted to Tools Network

 

 

0 Kudos
Message 5 of 6
(2,792 Views)

1.5.4 (minor documentation additions and one fixed example) now available on the Tools Network and VIPM.

0 Kudos
Message 6 of 6
(2,774 Views)