LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
A_nd_y

integrated JSON-Parser

Status: Completed

JSON primitives available in LabVIEW 2013 and later, JSON parsing libraries available at json.org

I often need to interpret JSON formated Strings.

Until now I use regular expressions.

 

A JSON-Parser (like the LabVIEW-XML-Parser) should simplify the expense for me drastically.

6 Comments
SteveChandler
Trusted Enthusiast

Good idea. It should also come with an encoder. I am envisioning something like flatten to JSON and unflatten from JSON that would work just like the XML and string versions.

=====================
LabVIEW 2012


RDR
NI Employee (retired)

This would be an interesting toolkit to post on the LabVIEW Tools Network...

Philmod
Member

As the JSON format is used more and more, I really need this king of parser as well.

 

Any update?

Philmod
Member

Here is an implementation of a Labview JSON encoder: https://github.com/Philmod/Labview-JSON

 

Feel free to contribute!

MilanR
Active Participant

For anyone who lands on this page, LabVIEW 2013 and up ships with JSON parsing primitives:

 

Flatten to JSON

 

Unflatten from JSON

 

And links to other LabVIEW libraries for parsing JSON can be found on json.org

 


Milan
Darren
Proven Zealot
Status changed to: Completed

JSON primitives available in LabVIEW 2013 and later, JSON parsing libraries available at json.org