igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Function parseExactJson

    • Reads the document the native module (the Bloks extractor) wrote, in the one reader's exact mode. The module writes every number as the executable's own text, of any length (17841459773631911, 1.50, -1.5E-7, -0), and a number JSON cannot express (NaN, Infinity, a hexadecimal float) as a JSON string of its source text. A number of 15 characters or fewer is the number it reads as; a longer one arrives as its exact text, as in the response mode, and so does a literal that overflows a double (1e999), which the response mode refuses: no number empties the extract. The type parameter is the caller's claim about the document.

      Type Parameters

      • T = unknown

      Parameters

      • text: string

      Returns T