Skip to content

LabVIEW library for generating and parsing JSON-RPC messages

License

Notifications You must be signed in to change notification settings

PRIrvin/JSONrpc

Repository files navigation

JSONrpc

JSONrpc is a LabVIEW library for generating and parsing JSON-RPC messages. Initially developed for use by Instrument Framework

Getting Started

  • JSONrpc is developed and packaged in LabVIEW 2019
  • Download and install using the VI Package Manager as described here

Usage

Core Methods

Create Request.vi

Create Request

Parse Request.vi

Parse Request

Create Response.vi

Create Response

Parse Response.vi

Parse Response

Parse Params.vi

Parse Params

This VI breaks out RPC parameters into names and parameter objects, but does not convert the objects to LV data.

Data Manipulation

JSON to LVtype.vi

JSON to LVtype

By default, Create Request.vi and Create Response.vi will convert LV data to a string using whatever strategy is used by JSONtext. JSON to LVType.vi assists in converting a string back to a LV datatype.

Flatten to String.vi

Flatten to String

Flatten to String Details

Unflatten from String.vi

Unflatten from String

Examples

Example 1

Example 2

Contributing

Contact Patrick Irvin

License

BSD-3

About

LabVIEW library for generating and parsing JSON-RPC messages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published