Jump to content
Aristos Queue

Prototype of my Serialization library now available (JSON, XML, your favorite format...)

Recommended Posts

Over in the community forum, I have finally gotten around to posting the prototype for my serialization library. The prototype supports serialization to and from JSON for 9 data types and to XML (my own schema) for the same 9 (listed below).

https://decibel.ni.com/content/docs/DOC-24015

Please take a look. I've made it a priority to finish out the data type support for the framework generally and for the JSON format specifically. I will need community help to tackle any other formats: the framework is designed to make a single pair of functions on a class handle any file format, but the particular formats on the back end are not my specialty.

Please post all feedback on the ni.com site so that they stay all in one place and I can follow the threads easier.

  • Like 1

Share this post


Link to post
Share on other sites

Over in the community forum, I have finally gotten around to posting the prototype for my serialization library. The prototype supports serialization to and from JSON for 9 data types and to XML (my own schema) for the same 9 (listed below).

https://decibel.ni.c.../docs/DOC-24015

Please take a look. I've made it a priority to finish out the data type support for the framework generally and for the JSON format specifically. I will need community help to tackle any other formats: the framework is designed to make a single pair of functions on a class handle any file format, but the particular formats on the back end are not my specialty.

Please post all feedback on the ni.com site so that they stay all in one place and I can follow the threads easier.

There is a broken VI in the latest version 0.3 (never seen this error before, presumably because I shy away from xnodes).

Share this post


Link to post
Share on other sites

Did you install the Error Ring XNode from the web or something? This shouldn't happen with the one that ships with LV 2012.

(And you probably don't shy away from them... lots of nodes in the palettes are XNodes but don't look like it.)

Share this post


Link to post
Share on other sites

Did you install the Error Ring XNode from the web or something? This shouldn't happen with the one that ships with LV 2012.

Nope. It's a (2012) vanilla install (same in both 32 and 64 by-the-way).

Edited by ShaunR

Share this post


Link to post
Share on other sites

Getting the same error here (LabVIEW 12.0f1 32-bit).

The project looks very interesting though!

Edited by Onno

Share this post


Link to post
Share on other sites

Fixed. I had edited my XNode... the equivalent of the "conpane does not match" error for subVIs. I was playing around and forgot to undo my changes before posting the library.

Share this post


Link to post
Share on other sites

Forgot all about your little project until I read Reading Json :)

Just had another look (no errors now). I know it's in it's infancy, but I wasn't really sure how to use it if I wasn't using classes. Is the intention to only support classes?

Share this post


Link to post
Share on other sites
Is the intention to only support classes?
No other data type can define its composition function. If you want to create a class to wrap a raw cluster type, that's easy enough to do. But something has to supply the data translation layer and no other type has that ability.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.