const n = JSON.parse('{\ mask\: 9223372054034653000 }').mask; console.log(n, typeof n, String(Math.trunc(n)), BigInt.asIntN(64, BigInt(Math.trunc(n))));