JsonValue.AsBoolean() Method
Version: Available or changed with runtime version 1.0.
Converts the value in a JsonValue to a Boolean data type.
Syntax
Result := JsonValue.AsBoolean()
Parameters
JsonValue
Type: JsonValue
An instance of the JsonValue data type.
Return Value
Result
Type: Boolean
The operation will succeed if the value was created from a Boolean using SetValue or if the value was parsed from a string containing one of the values : true or false. The operation will fail with a run-time error otherwise.
See Also
JsonValue Data Type
Get Started with AL
Developing Extensions
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de