bjustice Posted April 7, 2021 Report Posted April 7, 2021 Does anyone know if it's possible to compose/decompose map/sets in LabVIEW? @LogMAN wrote a fantastic "LabVIEW Composition" library which is able to : compose/decompose LabVIEW classes decompose maps decompose sets However, there is no support for composition of maps/sets. (Link: https://github.com/LogMANOriginal/LabVIEW-Composition) @jdpowell and @Antoine Chalons had an interesting discussion on a JSONtext issue ticket about this subject: (link: https://bitbucket.org/drjdpowell/jsontext/issues/74/add-support-for-maps-set) However, it doesn't look like there has been resolution yet? Thanks for any input/insight Quote
LogMAN Posted April 8, 2021 Report Posted April 8, 2021 12 hours ago, bjustice said: Does anyone know if it's possible to compose/decompose map/sets in LabVIEW? Yes it is, both ways. 12 hours ago, bjustice said: @LogMAN wrote a fantastic "LabVIEW Composition" library which is able to : compose/decompose LabVIEW classes decompose maps decompose sets However, there is no support for composition of maps/sets. (Link: https://github.com/LogMANOriginal/LabVIEW-Composition) I'm glad you like it There is a new release which adds support for composition of maps and sets. Here is an example of what you can do with it: 12 hours ago, bjustice said: @jdpowell and @Antoine Chalons had an interesting discussion on a JSONtext issue ticket about this subject: (link: https://bitbucket.org/drjdpowell/jsontext/issues/74/add-support-for-maps-set) However, it doesn't look like there has been resolution yet? Thanks for any input/insight This is actually a very smart way of doing it. My library takes the keys and values apart into individual arrays. A key-value-pair is certainly easier to work with... 1 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.