Skip to content

Releases: mstgnz/transformer

v1.1.0

26 Dec 15:14
Compare
Choose a tag to compare

v1.1.0 - Release

A Go library for seamless conversion between JSON, XML, and YAML formats using a common data structure.

Features

  • Bidirectional conversion between JSON, XML, and YAML
  • Common Node structure for consistent data representation
  • Type-safe operations
  • Customizable conversion rules
  • High test coverage (>90%)
  • Thread-safe operations
  • Minimal dependencies

Performance

Benchmark results show efficient performance across formats:

  • JSON: Fastest with minimal allocations
  • XML: Moderate performance with balanced memory usage
  • YAML: Higher resource usage but maintains data integrity

Installation

go get github.com/mstgnz/transformer

Breaking Changes

  • None (Initial Release)

Bug Fixes

  • None (Initial Release)

Dependencies

  • Go 1.16 or higher
  • gopkg.in/yaml.v3 for YAML operations

v1.0.0

09 Jul 21:34
Compare
Choose a tag to compare

Xml was made as a priority because it is simpler than Json and Yaml files. At the same time, it will provide a better understanding of the functioning.

The process of creating a Node object from the xml file is completed.
With the Node object created, xml output can be obtained again.