in src/Microsoft.Azure.WebJobs.Extensions.Dapr/Triggers/DaprTriggerBindingBase.cs [225:240]
public string? ToInvokeString()
{
if (this.outputValue == null)
{
return null;
}
try
{
return JsonSerializer.Serialize(this.outputValue, JsonUtils.DefaultSerializerOptions);
}
catch (JsonException)
{
return null; // best effort
}
}