Table of Contents

GetBigInteger Procedure

Codeunit JSON Functions

Reads the value at Path and returns the value as BigInteger. An error will be thrown if the value doesn't exist.

Overloads

Name Description
GetBigInteger(JsonObject; Text): BigInteger Reads the value at Path and returns the value as BigInteger.
GetBigInteger(JsonObject; Text; Boolean): BigInteger Reads the value at Path and returns the value as BigInteger.

GetBigInteger(JsonObject; Text) Procedure

Reads the value at Path and returns the value as BigInteger. An error will be thrown if the value doesn't exist.

Signature

GetBigInteger(JsonObj: JsonObject; Path: Text) : BigInteger

Parameters

JsonObj JsonObject

The JsonObject to read from.

Path Text

The JSONPath expression that will be used to get the requested value.

Returns

BigInteger

The value found at Path as BigInteger.

GetBigInteger(JsonObject; Text; Boolean) Procedure

Reads the value at Path and returns the value as BigInteger.

Signature

GetBigInteger(JsonObj: JsonObject; Path: Text; DefaultIfUndefined: Boolean) : BigInteger

Parameters

JsonObj JsonObject

The JsonObject to read from.

Path Text

The JSONPath expression that will be used to get the requested value.

DefaultIfUndefined Boolean

If true an error is not thrown if the value doesn't exist. Instead a blank big integer is returned. If false an error is thrown if the value doesn't exist.

Returns

BigInteger

The value found at Path as BigInteger.

This documentation is generated from Smart Toolbox v27.1