Stone.js API
    Preparing search index...

    Function getJson

    Get the specified env variable value as JSON.

    The environment variable key.

    Options for retrieving the value.

    The value as a JSON object.

    • Get the specified env variable value as JSON.

      Type Parameters

      • R = unknown

      Parameters

      • key: string

        The environment variable key.

      Returns R

      The value as a JSON object.

    • Get the specified env variable value as JSON.

      Type Parameters

      • R = unknown

      Parameters

      • key: string

        The environment variable key.

      • options: Options | R

        Options for retrieving the value.

      Returns R

      The value as a JSON object.