Codeunit 5459 "JSON Management"
Base Application · System.Text
Across versions
- BC23-30present
Neighbourhood 26 connected objects and pages
Base Application · System.Text · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeAddJPropertyToJObject(var JObject: DotNet "JObject"; var JProperty: DotNet "JProperty"; propertyName: Text; value: Variant; var IsHandled: Boolean)(integration)
Procedures
InitializeCollection(JSONString: Text)InitializeEmptyCollection()InitializeObject(JSONString: Text)InitializeObjectFromJObject(NewJsonObject: DotNet JObject)InitializeCollectionFromJArray(NewJsonArray: DotNet JArray)InitializeEmptyObject()InitializeFromString(JSONString: Text): BooleanGetJSONObject(var JObject: DotNet JObject)GetJsonArray(var JArray: DotNet JArray)GetObjectFromCollectionByIndex(var Object: Text; Index: Integer): BooleanGetJObjectFromCollectionByIndex(var JObject: DotNet JObject; Index: Integer): BooleanGetJObjectFromCollectionByPropertyValue(var JObject: DotNet JObject; propertyName: Text; value: Text): BooleanGetPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Variant): BooleanGetPropertyValueByName(propertyName: Text; var value: Variant): BooleanGetPropertyValueFromJObjectByPathSetToFieldRef(JObject: DotNet JObject; propertyPath: Text; var FieldRef: FieldRef): BooleanGetPropertyValueFromJObjectByPath(JObject: DotNet JObject; fullyQualifiedPropertyName: Text; var value: Variant): BooleanGetStringPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Text): BooleanGetStringPropertyValueByName(propertyName: Text; var value: Text): BooleanGetStringPropertyValueFromJObjectByPath(JObject: DotNet JObject; fullyQualifiedPropertyName: Text; var value: Text): BooleanGetEnumPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Option)GetBoolPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Boolean): BooleanGetArrayPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var JArray: DotNet JArray): BooleanGetArrayPropertyValueAsStringByName(propertyName: Text; var value: Text): BooleanGetObjectPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var JSubObject: DotNet JObject): BooleanGetDecimalPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Decimal): BooleanGetGuidPropertyValueFromJObjectByName(JObject: DotNet JObject; propertyName: Text; var value: Guid): BooleanGetStringValueFromJObject(JObject: DotNet JObject; var value: Text)AddJArrayToJObject(var JObject: DotNet JObject; propertyName: Text; value: Variant)AddJObjectToJObject(var JObject: DotNet JObject; propertyName: Text; value: Variant)AddJObjectToJArray(var JArray: DotNet JArray; value: Variant)AddJPropertyToJObject(var JObject: DotNet JObject; propertyName: Text; value: Variant)AddNullJPropertyToJObject(var JObject: DotNet JObject; propertyName: Text)AddJValueToJObject(var JObject: DotNet JToken; value: Variant)AddJObjectToCollection(JObject: DotNet JObject)AddJArrayContentToCollection(JArray: DotNet JArray)ReplaceOrAddJPropertyInJObject(var JObject: DotNet JObject; propertyName: Text; value: Variant): BooleanReplaceOrAddDescendantJPropertyInJObject(var JObject: DotNet JObject; fullyQualifiedPropertyName: Text; value: Variant): BooleanGetCollectionCount(): IntegerWriteCollectionToString(): TextWriteObjectToString(): TextFormatDecimalToJSONProperty(Value: Decimal; PropertyName: Text): TextXMLTextToJSONText(Xml: Text): TextJSONTextToXMLText(Json: Text; DocumentElementName: Text): TextTryParseJObjectFromString(var JObject: DotNet JObject; StringToParse: Variant)TryParseJArrayFromString(var JsonArray: DotNet JArray; StringToParse: Variant)SetValue(Path: Text; Value: Variant)GetValue(Path: Text): TextGetValueAndSetToRecFieldNo(RecordRef: RecordRef; PropertyPath: Text; FieldNo: Integer): BooleanHasValue(Name: Text; Value: Text): BooleanAddArrayValue(Value: Variant)AddJson(Path: Text; JsonString: Text)AddJsonArray(Path: Text; JsonArrayString: Text)SelectTokenFromRoot(Path: Text): BooleanReadProperties(): BooleanGetNextProperty(var Name: Text; var Value: Text): BooleanSelectItemFromRoot(Path: Text; Index: Integer): BooleanGetCount(): IntegerSetJsonWebResponseError(var JsonString: Text; code: Text; name: Text; description: Text)GetJsonWebResponseError(JsonString: Text; var code: Text; var name: Text; var description: Text): Boolean
Plus 7 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4100 “Temp Blob” (2 calls:
TryReadAsBase64 → CreateOutStream,TryReadAsBase64 → ToRecordRef) - Codeunit 4110 “Base64 Convert” (1 call:
TryReadAsBase64 → FromBase64) - Codeunit 5302 “Outlook Synch. Type Conv” (1 call:
GetPropertyValueFromJObjectByPathSetToFieldRef → TextToOptionValue) - Codeunit 6224 “XML DOM Management” (1 call:
XMLTextToJSONText → LoadXMLDocumentFromText)
Called by
- Codeunit 5458 “Graph Collection Mgt - Contact” (198 calls:
AddBusinessType → AddJPropertyToJObject,AddBusinessType → GetJSONObject,AddBusinessType → InitializeEmptyObject, …) - Codeunit 5468 “Graph Mgt - Complex Types” (39 calls:
ApplyPostalAddressFromJSON → GetJSONObject,ApplyPostalAddressFromJSON → GetStringPropertyValueFromJObjectByName,ApplyPostalAddressFromJSON → InitializeObject, …) - Codeunit 1485 “Rolecenter Selector Mgt.” (21 calls:
BuildJsonFromPageActionTable → AddJArrayToJObject,BuildJsonFromPageActionTable → AddJObjectToJArray,BuildJsonFromPageActionTable → AddJPropertyToJObject, …) - Codeunit 6060 “Hybrid Deployment” (20 calls:
CreateIntegrationRuntime → GetStringPropertyValueByName,CreateIntegrationRuntime → InitializeObject,GetIntegrationRuntimeKeys → GetStringPropertyValueByName, …) - Codeunit 6154 “API Webhook Notification Send” (16 calls:
AddPayloadPerSubscription → AddJObjectToJArray,DateTimeToUtcString → AddJPropertyToJObject,DateTimeToUtcString → GetJSONObject, …) - Codeunit 9033 “Invite External Accountant” (14 calls:
GetMessageFromErrorJSON → GetJSONObject,GetMessageFromErrorJSON → GetStringPropertyValueFromJObjectByName,GetMessageFromErrorJSON → InitializeObject, …) - Codeunit 5470 “Graph Collection Mgt - Item” (11 calls:
ItemUnitOfMeasureToJSON → AddJObjectToJObject,ItemUnitOfMeasureToJSON → AddJPropertyToJObject,ItemUnitOfMeasureToJSON → GetJSONObject, …) - Codeunit 1297 “Http Web Request Mgt.” (10 calls:
ParseFaultJsonResponse → GetJsonWebResponseError,ParseWebResponseError → GetValue,ParseWebResponseError → InitializeFromString, …) - Codeunit 2021 “Image Analysis Result” (10 calls:
DominantColor → GetJObjectFromCollectionByIndex,DominantColor → InitializeCollectionFromJArray,DominantColorBackground → GetStringPropertyValueFromJObjectByName, …) - Codeunit 4014 “Notification Handler” (10 calls:
GetExtensionRefreshErrorMessage → GetStringPropertyValueByName,GetExtensionRefreshErrorMessage → InitializeObject,HandleServiceNotification → GetStringPropertyValueByName, …) - Codeunit 20124 “AMC Bank REST Request Mgt.” (9 calls:
CleanSecureContent → GetValue,CleanSecureContent → InitializeObject,CleanSecureContent → SetValue, …) - Codeunit 4016 “Hybrid GP Management” (8 calls:
HandleInitializationOfGPSynchronization → GetStringPropertyValueByName,HandleInitializationOfGPSynchronization → InitializeObject,UpdateStatusOnHybridReplicationCompleted → GetArrayPropertyValueAsStringByName, …) - Codeunit 47013 “SL Hybrid Management” (8 calls:
InitializationofSLSynchronization → GetStringPropertyValueByName,InitializationofSLSynchronization → InitializeObject,UpdateStatusOnHybridReplicationCompleted → GetArrayPropertyValueAsStringByName, …) - Codeunit 1290 “SOAP Web Service Request Mgt.” (6 calls:
GetTokenDetailsAsJson → AddJPropertyToJObject,GetTokenDetailsAsJson → GetJSONObject,GetTokenDetailsAsJson → InitializeEmptyObject, …) - Page 20109 “AMC Bank Signup to Service” (6 calls:
GetLoginURL → AddJPropertyToJObject,GetLoginURL → GetJSONObject,GetLoginURL → GetValue, …) - Codeunit 2023 “Image Analysis Wrapper V3.2” (5 calls:
LogCorrelationToTelemetry → GetGuidPropertyValueFromJObjectByName,LogCorrelationToTelemetry → GetJSONObject,SendRequest → GetJSONObject, …) - Codeunit 4001 “Hybrid Cloud Management” (4 calls:
CheckFixDataOnReplicationCompleted → GetStringPropertyValueByName,CheckFixDataOnReplicationCompleted → InitializeObject,CompaniesReplicatedSuccessfully → GetStringPropertyValueByName, …) - Table 469 “Workflow Webhook Subscription” (4 calls:
TryInitializeCollection → GetCollectionCount,TryInitializeCollection → InitializeCollectionFromJArray,TryParseJson → GetJSONObject, …) - Codeunit 2024 “Image Analysis Wrapper V1.0” (3 calls:
TryInvokeAnalysisInternal → GetJSONObject,TryInvokeAnalysisInternal → GetStringPropertyValueFromJObjectByName,TryInvokeAnalysisInternal → InitializeObject) - Table 6707 “Booking Item” (3 calls:
GetDate → GetJSONObject,GetDate → GetStringPropertyValueFromJObjectByName,GetDate → InitializeObject) - Codeunit 4026 “W1 Management” (2 calls:
SetUpgradePendingOnReplicationRunCompleted → GetPropertyValueByName,SetUpgradePendingOnReplicationRunCompleted → InitializeObject) - Codeunit 5465 “Graph Mgt - General Tools” (1 call:
GetMandatoryStringPropertyFromJObject → GetStringPropertyValueFromJObjectByName)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "JSON Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.