Houdini 18.5 Nodes TOP nodes

JSON Output TOP node

Performs various operations that produce JSON output

On this page
Since 17.5

This node offers various functionality that will produce a JSON file as output.

Tip

The $HH/help/files/pdg_examples/top_jsonpipeline example shows how you can use this node to prettify an existing .json file.

Parameters

Node

Operation

Operation

This specifies the operation that you want to perform.

Write Upstream Work Item to Json

This operation will write information about the upstream work item to the specified JSON output file.

Prettify

This operation will make a JSON file more readable by adding spaces, separators, and by sorting the contents.

JSON File

This parameter is used to specify the input JSON file for the Prettify operation.

Common

Output File Tag

This specifies the tag of the reported result data.

Output File

This specifies the output filepath.

Processor

Generate When

Determines when this node will generate work items. You should generally leave this set to "Automatic" unless you know the node requires a specific generation mode, or that the work items need to be generated dynamically.

All Upstream Items are Generated

This node will generate work items once all of the input nodes have generated their work items.

All Upstream Items are Cooked

This node will generate work items once all of the input nodes have cooked their work items.

Each Upstream Item is Cooked

This node will generate work items each time a work item in an input node is cooked.

Automatic

The generation mode is selected based on the generation mode of the input nodes. If any of the input nodes are generating work items when their inputs cook, this node will be set to Each Upstream Item is Cooked. Otherwise, it will be set to All Upstream Items are Generated.

Examples

example_top_jsonoutput Example for JSON Output TOP node

This example demonstrates how to use json output node to write workitem data to json format, or to reformat existing json files.

See also

TOP nodes