You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're developing a laboratory control protocol LECO and are looking for a way to encode messages.
open-rpc seems to be great for encoding method calls. We need, however, to access attributes/properties of the remote object (i.e. read/write variables of that object).
Is there any suggestion, how to do it via open-rpc or is there any other useful protocol?
json-schema seems to do the job of encoding attributes, but cannot handle method calls.
Does anyone use a combination of open-rpc and json-schema?
The text was updated successfully, but these errors were encountered:
@bmoneke Thanks for checking out openrpc. OpenRPC is simply put a description of methods using JSON Schema + some other stuff. In OpenRPC, json-rpc params and results are represented as "ContentDescriptors" - basically a wrapper for the JSON schema that describes the data type. You might find some of these examples useful:
We're developing a laboratory control protocol LECO and are looking for a way to encode messages.
open-rpc seems to be great for encoding method calls. We need, however, to access attributes/properties of the remote object (i.e. read/write variables of that object).
Is there any suggestion, how to do it via open-rpc or is there any other useful protocol?
json-schema seems to do the job of encoding attributes, but cannot handle method calls.
Does anyone use a combination of open-rpc and json-schema?
The text was updated successfully, but these errors were encountered: