twalter Posted May 27 Report Share Posted May 27 (edited) I have a need to help users create appropriate JSON inputs for configuration of PPLs. It is especially problematic for ENUMs since the user will not know what values mean normally. I think a JSON Schema is probably a good way to meet this need. In looking into different ways to create a JSON Schema I started digging into the JKI JSON library. I think with some modifications to the Flatten To String in the JSON Serializer.lvclass a new member could be created to generate the schema. Have you ever considered this feature? I am considering making a version to create schemas. I don't have LV 2013 so I can't directly contribute in github. If I make an update in a later version of LV are you interested in getting a copy and saving for old version to contribute? Edited May 27 by twalter 1 Quote Link to comment Share on other sites More sharing options...
Jim Kring Posted September 6 Report Share Posted September 6 @twalter we have a rudimentary JSON Schema Generator here: https://github.com/JKISoftware/generate-json-schema-labview It's saved in LV2020 and you can also use LV2024 (Q3 works best) which supports preserving the Save Version of the Project/VIs. Feel free to create issues and submit pull requests. Quote Link to comment Share on other sites More sharing options...
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.