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

    Function fromRepairedJsonText

    • fromJsonText with the tolerant repair of parseJSON: the schema of a field that embeds a Bloks JSON text (a payload, a login response, a header document). The code outside the core reads such a field only through it.

      Type Parameters

      • S extends Constraint

      Parameters

      • schema: S

      Returns decodeTo<S, String>