@launchdarkly/vue-client-sdk - v3.0.13
    Preparing search index...

    Function useJsonVariation

    • Reactively evaluates a JSON feature flag.

      Type Parameters

      • T = unknown

      Parameters

      • key: MaybeRefOrGetter<string>

        the feature flag key (plain, ref, or getter)

      • defaultValue: T

        value returned while the flag loads or if it cannot be evaluated

      • OptionalinjectionKey: InjectionKey<LDVueInstance>

        optional injection key for multiple environments

      Returns Readonly<Ref<T>>