web-csv-toolbox - v0.14.0
    Preparing search index...

    Function parseStringToArraySync

    • Parse CSV string to array synchronously (WASM binding)

      Arguments

      • input - CSV string to parse
      • delimiter - Delimiter character (e.g., b',' for comma)
      • max_buffer_size - Maximum allowed input size in bytes
      • source - Optional source identifier for error reporting (e.g., filename). Pass empty string for None.

      Returns

      Result containing JsValue with the JSON string representation of parsed CSV data.

      Errors

      Returns a JsError if parsing fails or input size exceeds limit, which will be thrown as a JavaScript error.

      Parameters

      • input: string
      • delimiter: number
      • max_buffer_size: number
      • source: string

      Returns any