For the complete documentation index, see llms.txt. This page is also available as Markdown.

ConvertToJSON

Converts Excel file to JSON. https://tasks.frends.com/tasks/frends-tasks/Frends.Excel.ConvertToJSON

Task version: 2.2.0

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

Path : String

Path to the Excel file.

Default: C:\tmp\ExcelFile.xlsx Example: C:\tmp\ExcelFile.xlsx

Task Result

Name
Description

Success : Boolean

Indicates if the conversion was successful. Example: true

ErrorMessage : String

Exception message. Example: An error occurred...

JSON : String

Excel-conversion to JSON. Example: "{"workbook":{"workbook_name":"ExcelTestInput2.xls","worksheet":{"name":"Sheet1","rows":[{"RowNumber":1,"Cells":[{"ColumnName":"A","ColumnIndex":1,"ColumnValue":"Foo"},{"ColumnName":"B","ColumnIndex":2,"ColumnValue":"Bar"},{"ColumnName":"C","ColumnIndex":3,"ColumnValue":"Kanji働"},{"ColumnName":"D","ColumnIndex":4,"ColumnValue":"Summa"}]}]}}}"

Task Changelog

Changelog for Task Frends.Excel.ConvertToJSON.

[2.2.0] - 2026-01-22

Changed

  • Open Excel files with FileAccess.Read to support read-only files

[2.1.0] - 2024-08-21

Changed

  • Updated the Newtonsoft.Json package to the latest version.

[2.0.0] - 2023-03-21

Changed

  • Change how the Json is constructed.

  • Added CancellationToken to the Task.

  • Refactored code to be more simple.

  • Added two helper classes Row and Cell.

[1.0.1] - 2022-08-02

Changed

  • Updated the documentation with better descriptions and examples.

Fixed

  • Nuget package should not contain the FrendsTasksMetadata.json files.

[1.0.0] - 2022-03-03

Added

  • Initial implementation

Last updated

Was this helpful?