Skip to content

Simple example of generating JSON Schema from LabVIEW data tuypes

License

Notifications You must be signed in to change notification settings

JKISoftware/generate-json-schema-labview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate JSON Schema LabVIEW

Simple example of generating JSON Schema from LabVIEW data types.

example

Goals

  • To provide a starting point for generating a JSON Schema from a LabVIEW data type -- specifically, to be used in conjuction with the JSONtext and JKI JSON Serialization libraries.
  • To provide enough of a schema for interoperability with other software tools (typically non-LabVIEW tools) that can utilize JSON Schema for a variety of purposes like code generation, data validation, etc.

Non-Goals

  • This project does not aim to support all features of JSON Schema like validation, constraints, type references ($ref) and definitions ($def), etc.
  • This project does not aim to create a validator (JSONtext already has one)
  • This projecty does not aim to support all LabVIEW data types (but it would be nice to support all the types that JSONtext and JKI JSON Serialization support)

Status

  • Project Status: Example Code / Non-Production
  • Save Version: LabVIEW 2020

Roadmap

  • Basic Data Types
    • Array
    • String
    • Cluster
    • Floating Points
    • Integers
    • Path
    • Enums
    • Others
  • Unit Tests

Development

  • Use LabVIEW 2020 or LabVIEW 2024+
  • Install the required VI Packages using VIPM (see the .vipc and .dragon files for dependencies: JSONtext and OpenG Variant)
  • Open source\Generate JSON Schema.lvproj and try running source\Example Test JSON Schema.vi (and experiment with changing the input data type)

About

Simple example of generating JSON Schema from LabVIEW data tuypes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published