Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration IntDecoding

Configure how integers in JSON response will be decoded.

Index

Enumeration members

Enumeration members

BIGINT = "bigint"

All integers will be decoded as BigInts.

DEFAULT = "default"

All integers will be decoded as Numbers, meaning any values greater than Number.MAX_SAFE_INTEGER will lose precision.

MIXED = "mixed"

Integers will be decoded as Numbers if they are less than or equal to Number.MAX_SAFE_INTEGER, otherwise they will be decoded as BigInts.

SAFE = "safe"

All integers will be decoded as Numbers, but if any values are greater than Number.MAX_SAFE_INTEGER an error will be thrown.

Generated using TypeDoc