• Converts a JSON object to a Honeycomb file with the content as a JSON string.

    Type Parameters

    • T extends object = object

    Parameters

    • json: T

      The JSON object to convert.

    • Optional fileName: string

      The name of the file (default: "inline.json").

    • Optional options: HoneycombFileOptions

      The options for the Honeycomb file (optional).

    Returns HoneycombFile

    The created Honeycomb file.

    Throws

    Error if the JSON object cannot be parsed into a string.

Generated using TypeDoc