XML

Frends.XML.ConvertJsonToXml / 1.3.0

Summary

Converts JSON to XML under a root element you name, since JSON has no single root of its own, and can include the XML declaration.

Typical use — feeding JSON data into an XSLT, schema-validation or SOAP step

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
1.3.02026-11-03
Changed
  • Added Options parameter to the Task.
  • The Task result now includes Success and Error properties.
  • Added ThrowErrorOnFailure and ErrorMessageOnFailure options for controlling error handling.
  • Upgraded the Task to target .NET 8.
1.2.02026-07-14
Changed
  • Updated outdated repository URLs
1.1.02025-03-25
Changed
  • Update packages: System.ComponentModel.Annotations 4.7.0 -> 5.0.0 coverlet.collector 3.1.2 -> 6.0.4 Microsoft.NET.Test.Sdk 16.6.1 -> 17.13.0 nunit 3.12.0 -> 4.3.2 NUnit3TestAdapter 3.17.0 -> 5.0.0
1.0.12024-02-20
Changed
  • Refactored code to enable simple json transformation.
  • Added feature to add default xml declaration if it's not provided in the json input.
  • Updated documentation.
  • Added [DisplayFormat(DataFormatString = "Json")] annotation to the input json field.
  • Added more tests for different situations.
Updated
  • Newtonsoft.Json to version 13.0.3.
1.0.02023-11-28
Changed
  • Initial implementation
An unhandled error has occurred. Reload 🗙