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

Deserialize

Deserializes an Avro file to JSON format.

Task version: 2.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Source code: https://github.com/FrendsPlatform/Frends.Avro

Task Parameters

Name
Description

FilePath : String

Gets or sets the path to the Avro file you want to deserialize.

The file must be a valid Avro format file.

Default: - Example: C:\results\myfile.avro

Task Result

Name
Description

Json : Object

Gets or sets the deserialized JSON data as a dynamic object. Contains a JArray with the deserialized Avro records when successful, or error information when failed. Example: [{"foo": "bar", "number": 123}]

Success : Boolean

Gets or sets a value indicating whether the deserialization operation was successful. Example: true

Error : Error

Gets or sets the error information when the deserialization operation fails. This property is null when the operation is successful. Example: null

Task Changelog

Changelog for Task Frends.Avro.Deserialize.

[2.0.0] - 2025-07-25

Added

  • New Options tab with error handling parameters (ThrowErrorOnFailure, ErrorMessageOnFailure)

  • Success property in Result to indicate task status

  • Error object in Result with detailed failure info

  • Error class with Message and AdditionalInfo properties

  • Options class for task configuration

  • ErrorHandler helper class for standardized error handling

  • Improved error handling with centralized logic

Changed

  • [Breaking] Renamed AvroFilePath to FilePath for consistency with Frends naming conventions

  • [Breaking] Moved FilePath from old parameter location to Input tab

  • Updated task structure to align with Frends development guidelines

[1.0.0] - 2024-05-31

Added

  • Initial implementation

Last updated

Was this helpful?