Nativescript plugin for https requests
    Preparing search index...

    Function getJSON

    • Downloads the content from the specified URL as a string and returns its JSON.parse representation.

      Type Parameters

      • T

      Parameters

      • arg: string | HttpsRequestOptions

        either The URL to request from or HttpsRequestOptions options.

      Returns Promise<T>