3D-City Model
    Preparing search index...

    Function parseConfigFromUrl

    • Loads and parses a hierarchical configuration from a remote URL (JSON or TXT). Fetches the resource, parses JSON, and resolves nested entries via URLs, arrays, or custom objects recursively.

      Parameters

      • url: string

        The URL of the config file (JSON or TXT).

      Returns Promise<Object>

      Fully resolved config object.

      const appConfig = await parseConfigFromUrl('https://example.com/conf.json');