AgentFunctionJsonStringParameterAnalyzer
NexusLabs.Needlr.AgentFramework.Analyzers¶
AgentFunctionJsonStringParameterAnalyzer Class¶
Analyzer that hints when an [AgentFunction]System.String parameter is being
used to carry JSON (per its name suffix or [Description] text) and could instead be
typed as System.Text.Json.JsonElement for direct, typed access.
Inheritance Microsoft.CodeAnalysis.Diagnostics.DiagnosticAnalyzer 🡒 AgentFunctionJsonStringParameterAnalyzer
Remarks¶
\<b>NDLRMAF030\</b> (Info): a parameter is named *Json/*_json OR its description
mentions "JSON array"/"JSON object", AND its declared type is System.String.