@liminal_andy said:
Do I need to serialize the string (removing newlines, and tabs?)
Hi Andy, this is a Question about syntax for you since you have done it before.
I'm trying this out on the same series projector.
(* copy paste straight from the API by Barco that you provided a link to in your initial post, thank you.)
------page 4 example-------
{
"jsonrpc": "2.0",
"method": "system.poweron"
}
------------------------------
By putting this all on one line works with other software I'm using for testing, however The send TCP actor is complaining with a dialogue "Invalid Hex Character".
When you say serialize, do you mean simply deleting the curly brackets and putting all text in one line? i.e.
"jsonrpc": "2.0","method": "system.poweron"
According to the Isadora manual p.261 Data output formatting: to make the TCP actor function correctly, I add an additional pair of double quotes to contain the JSON message and end with a carriage return and new line feed HEX outside of these quotes. i.e.
""jsonrpc": "2.0","method": "system.poweron"" 0D 0A
What have I not understood here?