Spinner is a versatile and efficient tool designed to streamline data interchange between applications. With its intuitive object mapping capabilities, Spinner excels in translating complex information into a format that can be easily understood and processed by a wide range of systems.
Moreover, Spinner boasts a user-friendly interface that empowers developers to effortlessly configure mappings, reducing the time and effort required to integrate disparate systems. Its adaptability extends to various data types, allowing for precise mapping of objects, arrays, and other complex structures.
- Swift Writing Speed.
- Effortlessly Transforms Objects into Mapped Strings.
- Seamlessly Converts Mapped Strings back into Objects.
dotnet add package Spinner
To accurately represent the final string, instantiate an object. Note that utilizing the WriteProperty attribute is essential for this process.
[ObjectMapper(length: 50)]
public struct Nothing
{
public Nothing(string name, string webSite)
{
this.Name = name;
this.WebSite = webSite;
}
[WriteProperty(length: 20, order: 1, paddingChar: ' ')]
public string Name { get; private set; }
[WriteProperty(length: 30, order: 2, paddingChar: ' ')]
public string WebSite { get; private set; }
}
var nothing = new Nothing("spinner", "www.spinner.com.br");
var spinner = new Spinner<Nothing>(nothing);
var stringResponse = spinner.WriteAsString();
// stringResponse = " spinner www.spinner.com.br"
Refer to 'Learn: Getting Started' for comprehensive instructions on setting up your project. here.
We appreciate any donations. Your contributions to the Spinner project will be used exclusively for maintaining the Spinner domain and SSL certificate.
Our code and framework are licensed under the MIT license. Please see the license file for more information. You can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.