Sidebar

What is the proper way to output a JSON message in the destination node?

0 votes
894 views
asked Mar 9, 2016 by (290 points)
edited Mar 9, 2016 by

What is the proper syntax to output a JSON message in the destination node? What goes in the JSON text block? The source message is already a JSON message.

commented Mar 9, 2016 by rich-c-2789 (16,180 points)
edited Mar 9, 2016 by rich-c-2789
Can you provide more information?  What do you mean by "JSON text block"?  Perhaps some sample code or a screen shot would help...  If you are just looking for examples see: http://www.w3schools.com/json/json_syntax.asp
commented Mar 9, 2016 by (290 points)
I have uploaded a screenshot. I want to send a JSON message out a destination node. The incoming message in the green input/source node is of type JSON from a file source. In the purple destination node the, in text field labeled JSON, I'm not sure what needs to go in there in order send it back out.

1 Answer

+1 vote
 
Best answer

If your current message is the JSON message you want to send, then the value you want in there is this:

/*{m:/}*/

This is a node-tag that means "use the entire message object".  You can find more information on node-tags in the Reference Manual of QIE.

answered Mar 9, 2016 by mike-r-7535 (13,830 points)
selected Mar 9, 2016 by
...