levylabpitt / Instrument-Framework

An object-oriented framework for LabVIEW based on JKI SMOs.
BSD 3-Clause "New" or "Revised" License
4 stars 7 forks source link

JSON-RPC: encode/decode single values #45

Closed ciozi137 closed 2 years ago

ciozi137 commented 2 years ago

Currently if the user tries to encode a single parm the message uses an array structure:

The issue is that when decoding the message the following structure is required:

Note: unnamed parameters are not allowed in JSON RPC 2.0. An array without a name is ok.

ciozi137 commented 2 years ago

Not able to reproduce in source. Looking at specific implementation in PPMS project