Skip to main content
Overview > InworldJsonEdgeAsset Class: InworldJsonEdgeAsset | Inherits from: InworldEdgeAsset Specialized edge asset for JSON data validation within graph workflows in the Inworld framework. Extends the base edge functionality to evaluate JSON validity and control flow based on structured payloads. This asset can be created through Unity’s Create menu and used to add JSON-specific routing to conversation flows.

Properties

Methods

Reference

EdgeTypeName

A constant string JsonEdge, primarily used when registering a custom edge condition name for JSON processing.

Returns

Type: string

MeetsCondition

Evaluates whether the input data satisfies the JSON condition for this edge. Constructs an InworldJson from the input and checks its validity. Behavior is controlled by AllowedPassByDefault — if true, valid JSON passes; if false, invalid JSON passes.

Parameters

ParameterTypeDescription
inputDataInworldBaseDataThe input data to evaluate for JSON validity.

Returns

Type: bool