EU Parliament Monitor — API Documentation - v0.8.39
    Preparing search index...

    Function parseSDMXJSON

    • Parse an SDMX-JSON response into a map of series key → ordered observations.

      This parser is intentionally tolerant: missing observations, attribute arrays, or structure blocks all degrade to an empty result rather than throwing. That lets the caller pipeline treat a broken response as "no data" and fall through to a World Bank fallback.

      Parameters

      • raw: string | SDMXJSONResponse | null | undefined

        Raw SDMX-JSON payload as returned by the IMF MCP server (accepts string, object, null, or undefined).

      Returns Map<string, IMFObservation[]>

      Map of series key → ordered observations.