26
We are using overload function for get value from Json. Overload function fill table fields and there is problem with possible overload warning. So we would like create new overloads for like this:

procedure GetJsonTokenValue(JsonObj: JsonObject; TokenKey: Text; var TextValue: Text) Found: boolean
procedure GetJsonTokenValue(JsonObj: JsonObject; TokenKey: Text; var TextValue: Text[250]) Found: boolean
procedure GetJsonTokenValue(JsonObj: JsonObject; TokenKey: Text; var TextValue: Text[100]) Found: boolean

Visual Studio Code catch that these functions are different overloads. Problem is that AL compilator raise error that function with same name and parameters exists. Can you allow overloading with different variable length? It realy helps with warnings AA0139.
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team