Difference between revisions of "JSON Node"

From PresenceWiki
Jump to: navigation, search
 
Line 2: Line 2:
  
 
For further information about JSON, please visit http://json.org
 
For further information about JSON, please visit http://json.org
 +
 +
=== Example JSON Document and resulting Presence Data Table ===
  
 
Here is an example of an incoming JSON Document:
 
Here is an example of an incoming JSON Document:
Line 10: Line 12:
  
 
http://www.international-presence.com/wikidocs/images/json_table.png
 
http://www.international-presence.com/wikidocs/images/json_table.png
 +
 +
=== Using JSON Nodes in your Task ===
 +
 +
To include a JSON Query Node in your task, simply drag the JSON node from the Task Elements Toolbox (under Data Access) into the Task Edit View.
 +
 +
http://www.international-presence.com/wikidocs/images/json_query_toolbox.png
 +
 +
==== Introduction Panel ====
 +
 +
You will then see the introduction panel where you can enter a name and a description for the node:
 +
 +
http://www.international-presence.com/wikidocs/images/json_intro_panel.png
 +
 +
==== Documents Panel ====
 +
 +
Click next to show the Documents Panel. This is where you specify a live and test document and select which resulting values you would like to include in your outgoing table:
 +
 +
http://www.international-presence.com/wikidocs/images/json_doc_panel.png

Revision as of 09:28, 1 August 2014

The JSON node retrieves a document from the internet or a local file location and converts it into a Presence Data Table after applying rules.

For further information about JSON, please visit http://json.org

Example JSON Document and resulting Presence Data Table

Here is an example of an incoming JSON Document:

http://www.international-presence.com/wikidocs/images/json_doc.png

And here is the resulting (outgoing) Presence Data Table:

http://www.international-presence.com/wikidocs/images/json_table.png

Using JSON Nodes in your Task

To include a JSON Query Node in your task, simply drag the JSON node from the Task Elements Toolbox (under Data Access) into the Task Edit View.

http://www.international-presence.com/wikidocs/images/json_query_toolbox.png

Introduction Panel

You will then see the introduction panel where you can enter a name and a description for the node:

http://www.international-presence.com/wikidocs/images/json_intro_panel.png

Documents Panel

Click next to show the Documents Panel. This is where you specify a live and test document and select which resulting values you would like to include in your outgoing table:

http://www.international-presence.com/wikidocs/images/json_doc_panel.png