Codeunit 2516 AppSource Json Utilities

System Application, System.Apps.AppSource

Source AL, 65 lines

src/System Application/App/AppSource Gallery/src/AppSourceJsonUtilities.Codeunit.allines 10 to 25 of 65, Copyright (c) Microsoft Corporation. MIT

codeunit 2516 "AppSource Json Utilities"{    Access = Internal;    InherentEntitlements = x;    InherentPermissions = X;    procedure GetDecimalValue(JsonObject: JsonObject; PropertyName: Text): Decimal    var        JsonValue: JsonValue;    begin        if GetJsonValue(JsonObject, PropertyName, JsonValue) then            exit(JsonValue.AsDecimal());        exit(0);    end;    procedure GetIntegerValue(JsonObject: JsonObject; PropertyName: Text): Integer

All 65 lines

Public procedures 5 in 29

GetDecimalValue(JsonObject: JsonObject; PropertyName: Text): Decimalnew in 24
GetIntegerValue(JsonObject: JsonObject; PropertyName: Text): Integernew in 24
GetDateTimeValue(JsonObject: JsonObject; PropertyName: Text): DateTimenew in 24
GetStringValue(JsonObject: JsonObject; PropertyName: Text): Textnew in 24
GetJsonValue(JsonObject: JsonObject; PropertyName: Text; var ReturnValue: JsonValue): Booleannew in 24