Codeunit 5461 Json Impl.

System Application, System.Text.Json

Source AL, 443 lines

src/System Application/App/Json/src/JsonImpl.Codeunit.allines 12 to 27 of 443, Copyright (c) Microsoft Corporation. MIT

codeunit 5461 "Json Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        SourceWarningLength: Integer;        JsonArrayDotNet: DotNet JArray;        JsonObjectDotNet: DotNet JObject;        LogLimitWarningTxt: Label 'The JSON input length (%1) exceeds the maximum suggested length (%2) for JSON processing.', Locked = true;    internal procedure EmitLengthWarning(SourceLength: Integer; tag: Text; FormatString: Text)    begin        if SourceWarningLength <= 0 then            SourceWarningLength := 10485760; // 10 * 1024 * 1024 = 10 MB

All 443 lines

Public procedures 21 in 29

InitializeCollectionFromString(JSONString: Text)new in 24
InitializeObjectFromString(JSONString: Text)new in 24
GetCollectionCount(): Integernew in 24
GetCollectionAsText(): Textnew in 24
GetCollection(): JsonArraynew in 24
GetObjectAsText(): Textnew in 24

All 31 procedures in 17-19, 24-29

Changes 1 in 27

List17181920212223242526272829
Object1
Procedures2911
Events1
internal EmitLengthWarning(SourceLength: Integer; tag: Text; FormatString: Text)new in 27
added

All 33 changes in 17-19, 24-29