igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...
    • Parse a JSON string tolerant of the slightly-malformed output Instagram sometimes embeds in challenge responses (trailing commas, unquoted keys).

      The type parameter is the caller's claim about the document: the value read is a JSON value like any parsed answer, never a checked shape. The repaired text is read by the core's one JSON reader in its response mode, so a number literal of more than 15 characters (a Facebook id is 17 digits, more than a double holds) arrives as its exact text.

      Type Parameters

      • T = unknown

      Parameters

      • json: string

      Returns T