Utility JSON To HTML
Version 3
This handler makes some assumptions about the format of the JSON structure. It expects an array of objects to be the value of the root of the JSON object. This handler also expects the array of objects to contain only simple objects, not nested arrays or nested objects.
Examples
Below is an example of a JSON input string and the corresponding HTML output generated by this handler.
JSON Input [ { "a" : "animal", "b" : "boat", "c" : "car" }, { "a" : "cat", "b" : "dog" }, { "c" : "eel" } ]
HTML Output
a | b | c |
---|
animal | boat | car |
cat | dog | |
| | eel |
Note that the JSON input must be in the format [{"label":"Value"},{"label":"Value"},{"label":"Value"}] with no additional levels or brackets.
Parameters
Name |
Description |
JSON |
The JSON String to be converted to HTML |
Sample Configuration
Results
Name |
Description |
HTML |
A HTML table that was converted from the given JSON |
Changelog
UtilityJsonToHtmlV1 (2013-01-30)
- Initial version. See README for details.
V2 (2013-01-30)
- Removed sort and added border to table
v3 (2016-09-27)
- Updated for CSV version in Task 4
Related Handlers
- Name Generator
- Generates a simple name like: frosty-tree-15.
- Utility CSV To JSON
- This handler converts a CSV string into a JSON string.
- Utility CSV To XML
- Converts a CSV string to an XML string
- Utility Json Parse
- This handler parses a JSON string with a given path and returns the data found at the path
- Utility JSON To CSV
- This handler converts a JSON string into a CSV string.
- Utility JSON to Results
- Converts JSON to XML result.
- Utility JSON To XML
- This handler converts a JSON string into an XML string.
- Utility Random Password Generate
- Generates a human readable random password - intended to be immediately changed once used.