API Reference
JsonObject
Represents a mutable JSON object.
Inheritance
- Object
- JsonObject
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property CopilotAuthStatus.Additional
- Property CopilotAuthStatus.Raw
- Property CopilotModelInfo.Additional
- Property CopilotModelInfo.Raw
- Property CopilotSessionEvent.Additional
- Property CopilotSessionEvent.Data
- Property CopilotSessionEvent.Raw
- Property CopilotStatus.Additional
- Property CopilotStatus.Raw
- Method JsonMapper.FromDictionary
- Extension method JsonObject.AddIfNotEmpty
- Extension method JsonObject.ExtractAdditional
- Method JsonObject.Add
- Method JsonObject.Add
- Method JsonObject.Add
- Method JsonObject.Add
- Method JsonObject.Add
- Method JsonObject.GetObject
- Method JsonObjectExtensions.AddIfNotEmpty
- Method JsonObjectExtensions.ExtractAdditional
- Method JsonValue.AsObject
- Property AccountInfo.Additional
- Property AccountInfo.Raw
- Property ChatGptLoginStart.Additional
- Property ChatGptLoginStart.Raw
- Property CollaborationModeListResult.Additional
- Property CollaborationModeListResult.Raw
- Property CollaborationModeMask.Additional
- Property CollaborationModeMask.Raw
- Property CommandExecResult.Additional
- Property CommandExecResult.Raw
- Property ConfigLayer.Additional
- Property ConfigLayer.Raw
- Property ConfigLayerMetadata.Additional
- Property ConfigLayerMetadata.Raw
- Property ConfigLayerSourceInfo.Additional
- Property ConfigReadResult.Additional
- Property ConfigReadResult.Config
- Property ConfigReadResult.Raw
- Property ConfigRequirements.Additional
- Property ConfigRequirements.Raw
- Property ConfigRequirementsReadResult.Additional
- Property ConfigRequirementsReadResult.Raw
- Property McpOauthLoginStart.Additional
- Property McpOauthLoginStart.Raw
- Property McpResourceInfo.Additional
- Property McpResourceInfo.Annotations
- Property McpResourceInfo.Meta
- Property McpResourceInfo.Raw
- Property McpResourceTemplateInfo.Additional
- Property McpResourceTemplateInfo.Annotations
- Property McpResourceTemplateInfo.Meta
- Property McpResourceTemplateInfo.Raw
- Property McpServerStatus.Additional
- Property McpServerStatus.Raw
- Property McpServerStatusListResult.Additional
- Property McpServerStatusListResult.Raw
- Property McpToolInfo.Additional
- Property McpToolInfo.Annotations
- Property McpToolInfo.InputSchema
- Property McpToolInfo.Meta
- Property McpToolInfo.OutputSchema
- Property McpToolInfo.Raw
- Property ModelInfo.Additional
- Property ModelInfo.Raw
- Property ModelListResult.Additional
- Property ModelListResult.Raw
- Property ReasoningEffortOption.Additional
- Property ReasoningEffortOption.Raw
- Property ReviewStartResult.Additional
- Property ReviewStartResult.Raw
- Property SkillGroup.Additional
- Property SkillGroup.Raw
- Property SkillInfo.Additional
- Property SkillInfo.Raw
- Property SkillInterfaceInfo.Additional
- Property SkillInterfaceInfo.Raw
- Property SkillListResult.Additional
- Property SkillListResult.Raw
- Property ThreadIdListResult.Additional
- Property ThreadIdListResult.Raw
- Property ThreadInfo.Additional
- Property ThreadInfo.Raw
- Property ThreadListResult.Additional
- Property ThreadListResult.Raw
- Method ThreadUsageSummary.ToJson
- Property ThreadUsageSummary.Additional
- Property ThreadUsageSummary.Raw
- Property TurnInfo.Additional
- Property TurnInfo.Raw
- Property TurnOutput.Additional
- Property TurnOutput.Raw
- Method TurnUsage.ToJson
- Property TurnUsage.Additional
- Property TurnUsage.Raw
- Property UserInputResponse.Additional
- Property UserInputResponse.Raw
- Method ChatGptCreditsSnapshot.ToJson
- Property ChatGptCreditsSnapshot.Additional
- Property ChatGptCreditsSnapshot.Raw
- Method ChatGptCreditUsageEvent.ToJson
- Property ChatGptCreditUsageEvent.Additional
- Property ChatGptCreditUsageEvent.Raw
- Method ChatGptDailyTokenUsageBreakdown.ToJson
- Property ChatGptDailyTokenUsageBreakdown.Additional
- Property ChatGptDailyTokenUsageBreakdown.Raw
- Method ChatGptDailyTokenUsageDay.ToJson
- Property ChatGptDailyTokenUsageDay.Additional
- Property ChatGptDailyTokenUsageDay.Raw
- Method ChatGptNamedRateLimit.ToJson
- Property ChatGptNamedRateLimit.Additional
- Property ChatGptNamedRateLimit.Raw
- Method ChatGptRateLimitStatus.ToJson
- Property ChatGptRateLimitStatus.Additional
- Property ChatGptRateLimitStatus.Raw
- Method ChatGptRateLimitWindow.ToJson
- Property ChatGptRateLimitWindow.Additional
- Property ChatGptRateLimitWindow.Raw
- Method ChatGptUsageCacheEntry.ToJson
- Method ChatGptUsageReport.ToJson
- Method ChatGptUsageSnapshot.ToJson
- Property ChatGptUsageSnapshot.Additional
- Property ChatGptUsageSnapshot.Raw
- Property ToolCall.Arguments
- Property ToolCall.Raw
- Property ToolDefinition.Parameters
- Method ToolOutputEnvelope.ErrorObject
- Method ToolOutputEnvelope.OkFlatObject
- Method ToolOutputEnvelope.OkFlatObjectWithRenderValue
- Method ToolOutputEnvelope.OkObject
- Method ToolOutputEnvelope.OkObjectWithRenderValue
- Property ToolWriteGovernanceRequest.Arguments
- Property TreatmentInputArtifact.Json
- Property TreatmentOutputSchema.ExampleJson
- Property TreatmentOutputSchema.JsonSchema
- Property TreatmentResult.JsonObject
- Method HeatmapDay.ToJson
- Method HeatmapDocument.ToJson
- Method HeatmapLegendItem.ToJson
- Method HeatmapPalette.ToJson
- Method HeatmapSection.ToJson
- Method UsageTelemetryOverviewApiCostEstimate.ToJson
- Method UsageTelemetryOverviewCard.ToJson
- Method UsageTelemetryOverviewComposition.ToJson
- Method UsageTelemetryOverviewCompositionItem.ToJson
- Method UsageTelemetryOverviewCostDriver.ToJson
- Method UsageTelemetryOverviewDocument.ToJson
- Property UsageTelemetryOverviewDocument.Metadata
- Method UsageTelemetryOverviewHeatmap.ToJson
- Method UsageTelemetryOverviewInsightRow.ToJson
- Method UsageTelemetryOverviewInsightSection.ToJson
- Method UsageTelemetryOverviewModelHighlight.ToJson
- Method UsageTelemetryOverviewMonthlyUsage.ToJson
- Property UsageTelemetryOverviewOptions.Metadata
- Method UsageTelemetryOverviewProviderSection.ToJson
- Method UsageTelemetryOverviewSectionMetric.ToJson
- Method UsageTelemetryOverviewTopModel.ToJson
Accepted by parameters
- Method AnalysisConfigReader.Apply
- Method AnalysisConfigReader.Apply
- Constructor CopilotAuthStatus.CopilotAuthStatus
- Constructor CopilotAuthStatus.CopilotAuthStatus
- Method CopilotAuthStatus.FromJson
- Constructor CopilotModelInfo.CopilotModelInfo
- Constructor CopilotModelInfo.CopilotModelInfo
- Method CopilotModelInfo.FromJson
- Constructor CopilotSessionEvent.CopilotSessionEvent
- Constructor CopilotSessionEvent.CopilotSessionEvent
- Constructor CopilotSessionEvent.CopilotSessionEvent
- Method CopilotSessionEvent.FromJson
- Constructor CopilotStatus.CopilotStatus
- Constructor CopilotStatus.CopilotStatus
- Method CopilotStatus.FromJson
- Method JsonArray.Add
- Extension method JsonObject.AddIfNotEmpty
- Extension method JsonObject.ExtractAdditional
- Method JsonObject.Add
- Method JsonObjectExtensions.AddIfNotEmpty
- Method JsonObjectExtensions.ExtractAdditional
- Method JsonValue.From
- Method AppServerClient.CallAsync
- Method AppServerClient.NotifyAsync
- Constructor AccountInfo.AccountInfo
- Constructor AccountInfo.AccountInfo
- Method AccountInfo.FromJson
- Constructor ChatGptLoginStart.ChatGptLoginStart
- Constructor ChatGptLoginStart.ChatGptLoginStart
- Method ChatGptLoginStart.FromJson
- Constructor CollaborationModeListResult.CollaborationModeListResult
- Constructor CollaborationModeListResult.CollaborationModeListResult
- Method CollaborationModeListResult.FromJson
- Constructor CollaborationModeMask.CollaborationModeMask
- Constructor CollaborationModeMask.CollaborationModeMask
- Method CollaborationModeMask.FromJson
- Constructor CommandExecResult.CommandExecResult
- Constructor CommandExecResult.CommandExecResult
- Method CommandExecResult.FromJson
- Constructor ConfigLayer.ConfigLayer
- Constructor ConfigLayer.ConfigLayer
- Method ConfigLayer.FromJson
- Constructor ConfigLayerMetadata.ConfigLayerMetadata
- Constructor ConfigLayerMetadata.ConfigLayerMetadata
- Method ConfigLayerMetadata.FromJson
- Constructor ConfigLayerSourceInfo.ConfigLayerSourceInfo
- Constructor ConfigReadResult.ConfigReadResult
- Constructor ConfigReadResult.ConfigReadResult
- Constructor ConfigReadResult.ConfigReadResult
- Method ConfigReadResult.FromJson
- Constructor ConfigRequirements.ConfigRequirements
- Constructor ConfigRequirements.ConfigRequirements
- Method ConfigRequirements.FromJson
- Constructor ConfigRequirementsReadResult.ConfigRequirementsReadResult
- Constructor ConfigRequirementsReadResult.ConfigRequirementsReadResult
- Method ConfigRequirementsReadResult.FromJson
- Constructor McpOauthLoginStart.McpOauthLoginStart
- Constructor McpOauthLoginStart.McpOauthLoginStart
- Method McpOauthLoginStart.FromJson
- Constructor McpResourceInfo.McpResourceInfo
- Constructor McpResourceInfo.McpResourceInfo
- Constructor McpResourceInfo.McpResourceInfo
- Constructor McpResourceInfo.McpResourceInfo
- Method McpResourceInfo.FromJson
- Constructor McpResourceTemplateInfo.McpResourceTemplateInfo
- Constructor McpResourceTemplateInfo.McpResourceTemplateInfo
- Constructor McpResourceTemplateInfo.McpResourceTemplateInfo
- Constructor McpResourceTemplateInfo.McpResourceTemplateInfo
- Method McpResourceTemplateInfo.FromJson
- Constructor McpServerStatus.McpServerStatus
- Constructor McpServerStatus.McpServerStatus
- Method McpServerStatus.FromJson
- Constructor McpServerStatusListResult.McpServerStatusListResult
- Constructor McpServerStatusListResult.McpServerStatusListResult
- Method McpServerStatusListResult.FromJson
- Constructor McpToolInfo.McpToolInfo
- Constructor McpToolInfo.McpToolInfo
- Constructor McpToolInfo.McpToolInfo
- Constructor McpToolInfo.McpToolInfo
- Constructor McpToolInfo.McpToolInfo
- Constructor McpToolInfo.McpToolInfo
- Method McpToolInfo.FromJson
- Constructor ModelInfo.ModelInfo
- Constructor ModelInfo.ModelInfo
- Method ModelInfo.FromJson
- Constructor ModelListResult.ModelListResult
- Constructor ModelListResult.ModelListResult
- Method ModelListResult.FromJson
- Constructor ReasoningEffortOption.ReasoningEffortOption
- Constructor ReasoningEffortOption.ReasoningEffortOption
- Method ReasoningEffortOption.FromJson
- Constructor ReviewStartResult.ReviewStartResult
- Constructor ReviewStartResult.ReviewStartResult
- Method ReviewStartResult.FromJson
- Constructor SkillGroup.SkillGroup
- Constructor SkillGroup.SkillGroup
- Method SkillGroup.FromJson
- Constructor SkillInfo.SkillInfo
- Constructor SkillInfo.SkillInfo
- Method SkillInfo.FromJson
- Constructor SkillInterfaceInfo.SkillInterfaceInfo
- Constructor SkillInterfaceInfo.SkillInterfaceInfo
- Method SkillInterfaceInfo.FromJson
- Constructor SkillListResult.SkillListResult
- Constructor SkillListResult.SkillListResult
- Method SkillListResult.FromJson
- Constructor ThreadIdListResult.ThreadIdListResult
- Constructor ThreadIdListResult.ThreadIdListResult
- Method ThreadIdListResult.FromJson
- Constructor ThreadInfo.ThreadInfo
- Constructor ThreadInfo.ThreadInfo
- Method ThreadInfo.FromJson
- Constructor ThreadListResult.ThreadListResult
- Constructor ThreadListResult.ThreadListResult
- Method ThreadListResult.FromJson
- Constructor ThreadUsageSummary.ThreadUsageSummary
- Constructor ThreadUsageSummary.ThreadUsageSummary
- Method ThreadUsageSummary.FromJson
- Constructor TurnInfo.TurnInfo
- Constructor TurnInfo.TurnInfo
- Constructor TurnInfo.TurnInfo
- Constructor TurnInfo.TurnInfo
- Method TurnInfo.FromJson
- Constructor TurnOutput.TurnOutput
- Constructor TurnOutput.TurnOutput
- Constructor TurnUsage.TurnUsage
- Constructor TurnUsage.TurnUsage
- Method TurnUsage.FromJson
- Constructor UserInputResponse.UserInputResponse
- Constructor UserInputResponse.UserInputResponse
- Method UserInputResponse.FromJson
- Method ChatInput.AddRaw
- Constructor ChatGptCreditsSnapshot.ChatGptCreditsSnapshot
- Constructor ChatGptCreditsSnapshot.ChatGptCreditsSnapshot
- Method ChatGptCreditsSnapshot.FromJson
- Constructor ChatGptCreditUsageEvent.ChatGptCreditUsageEvent
- Constructor ChatGptCreditUsageEvent.ChatGptCreditUsageEvent
- Method ChatGptCreditUsageEvent.FromJson
- Constructor ChatGptDailyTokenUsageBreakdown.ChatGptDailyTokenUsageBreakdown
- Constructor ChatGptDailyTokenUsageBreakdown.ChatGptDailyTokenUsageBreakdown
- Method ChatGptDailyTokenUsageBreakdown.FromJson
- Constructor ChatGptDailyTokenUsageDay.ChatGptDailyTokenUsageDay
- Constructor ChatGptDailyTokenUsageDay.ChatGptDailyTokenUsageDay
- Method ChatGptDailyTokenUsageDay.FromJson
- Constructor ChatGptNamedRateLimit.ChatGptNamedRateLimit
- Constructor ChatGptNamedRateLimit.ChatGptNamedRateLimit
- Method ChatGptNamedRateLimit.FromJson
- Constructor ChatGptRateLimitStatus.ChatGptRateLimitStatus
- Constructor ChatGptRateLimitStatus.ChatGptRateLimitStatus
- Method ChatGptRateLimitStatus.FromJson
- Constructor ChatGptRateLimitWindow.ChatGptRateLimitWindow
- Constructor ChatGptRateLimitWindow.ChatGptRateLimitWindow
- Method ChatGptRateLimitWindow.FromJson
- Method ChatGptUsageCacheEntry.FromJson
- Constructor ChatGptUsageSnapshot.ChatGptUsageSnapshot
- Constructor ChatGptUsageSnapshot.ChatGptUsageSnapshot
- Method ChatGptUsageSnapshot.FromJson
- Method ITool.InvokeAsync
- Method ToolAlternateEngineSelectorNames.TryResolveSelectorArgumentName
- Constructor ToolCall.ToolCall
- Constructor ToolCall.ToolCall
- Constructor ToolDefinition.ToolDefinition
- Method ToolOutputEnvelope.Error
- Method ToolOutputEnvelope.ErrorObject
- Method ToolOutputEnvelope.Ok
- Method ToolOutputEnvelope.Ok
- Method ToolOutputEnvelope.Ok
- Method ToolOutputEnvelope.OkFlat
- Method ToolOutputEnvelope.OkFlat
- Method ToolOutputEnvelope.OkFlat
- Method ToolOutputEnvelope.OkFlatObject
- Method ToolOutputEnvelope.OkFlatObject
- Method ToolOutputEnvelope.OkFlatObject
- Method ToolOutputEnvelope.OkFlatObjectWithRenderValue
- Method ToolOutputEnvelope.OkFlatObjectWithRenderValue
- Method ToolOutputEnvelope.OkFlatWithRenderValue
- Method ToolOutputEnvelope.OkFlatWithRenderValue
- Method ToolOutputEnvelope.OkObject
- Method ToolOutputEnvelope.OkObject
- Method ToolOutputEnvelope.OkObject
- Method ToolOutputEnvelope.OkObjectWithRenderValue
- Method ToolOutputEnvelope.OkObjectWithRenderValue
- Method ToolOutputEnvelope.OkWithRenderValue
- Method ToolOutputEnvelope.OkWithRenderValue
- Method ToolWriteGovernanceContract.HasExplicitConfirmation
- Method ToolWriteGovernanceContract.IsWriteRequested
- Constructor UsageTelemetryOverviewDocument.UsageTelemetryOverviewDocument
Constructors
Methods
public JsonObject Add(String key, JsonArray value) #JsonObjectAdds or replaces a JSON value for the specified key.
Parameters
- key System.String
- value IntelligenceX.Json.JsonValue
public JsonObject Add(String key, String value) #JsonObjectAdds or replaces a string value for the specified key.
Parameters
- key System.String
- value System.String
public JsonObject Add(String key, Boolean value) #JsonObjectAdds or replaces a boolean value for the specified key.
Parameters
- key System.String
- value System.Boolean
public JsonObject Add(String key, Int64 value) #JsonObjectAdds or replaces an integer value for the specified key.
Parameters
- key System.String
- value System.Int64
public JsonObject Add(String key, Double value) #JsonObjectAdds or replaces a double value for the specified key.
Parameters
- key System.String
- value System.Double
Add(System.String key, IntelligenceX.Json.JsonObject value) #Adds or replaces a JSON object value for the specified key.
Parameters
- key System.String
- value IntelligenceX.Json.JsonObject
Add(System.String key, IntelligenceX.Json.JsonArray value) #Adds or replaces a JSON array value for the specified key.
Parameters
- key System.String
- value IntelligenceX.Json.JsonArray
public JsonArray GetArray(String key) #JsonArrayReturns a JSON array value for the specified key.
Parameters
- key System.String
public Boolean GetBoolean(String key, Boolean defaultValue = false) #BooleanReturns a boolean value for the specified key or a default when missing.
Parameters
- key System.String
- defaultValue System.Boolean = false
public Nullable<Double> GetDouble(String key) #Nullable<Double>Returns a double value for the specified key.
Parameters
- key System.String
public virtual IEnumerator<KeyValuePair<String, JsonValue>> GetEnumerator() #IEnumerator<KeyValuePair<String, JsonValue>>Returns a typed enumerator over the object's properties.
public Nullable<Int64> GetInt64(String key) #Nullable<Int64>Returns an integer value for the specified key.
Parameters
- key System.String
public JsonObject GetObject(String key) #JsonObjectReturns a JSON object value for the specified key.
Parameters
- key System.String
public String GetString(String key) #StringReturns a string value for the specified key.
Parameters
- key System.String
System#Collections#IEnumerable#GetEnumerator() #Returns a non-generic enumerator over the object's properties.
public Boolean TryGetValue(String key, out JsonValue value) #BooleanAttempts to retrieve a JSON value by key.
Parameters
- key System.String
- value IntelligenceX.Json.JsonValue@
Inherited Methods
Properties
Extension Methods
public static JsonObject AddIfNotEmpty(JsonObject obj, String key, JsonArray value) #JsonObjectAdds the array property only when the value is not null and contains at least one element.
Parameters
- obj IntelligenceX.Json.JsonObject
- Target JSON object.
- key System.String
- Property name.
- value IntelligenceX.Json.JsonArray
- Array to add when non-empty.
Returns
The same instance for fluent chaining.
public static JsonObject ExtractAdditional(JsonObject obj, params String[] knownKeys) #JsonObjectReturns a new object containing properties that are not in knownKeys.
Parameters
- obj IntelligenceX.Json.JsonObject
- Source JSON object.
- knownKeys System.String[]
- Keys to exclude from the result.
Returns
A new object containing unknown keys, or null when none exist.