SuperConvert 1.0.4.9

dotnet add package SuperConvert --version 1.0.4.9
NuGet\Install-Package SuperConvert -Version 1.0.4.9
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SuperConvert" Version="1.0.4.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SuperConvert --version 1.0.4.9
#r "nuget: SuperConvert, 1.0.4.9"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SuperConvert as a Cake Addin
#addin nuget:?package=SuperConvert&version=1.0.4.9

// Install SuperConvert as a Cake Tool
#tool nuget:?package=SuperConvert&version=1.0.4.9

Super Convert

Make your data conversion

BuildStatus codecov License

πŸš€ SuperConvert is the ultimate tool for data conversion in C#/.NET! It supports JSON, XML, CSV, XLS and much more! With SuperConvert, you can easily convert any data format to another with just a few lines of code. πŸ’ͺ

πŸ“– Its documentation provides clear and detailed explanations of all the methods and features available, making it easy to use and master. πŸ€“

πŸ’» And if you're looking for more resources, the SuperConvert blog has plenty of articles on data conversion and best practices. πŸ“°

πŸ”§ Don't miss out on the powerful features SuperConvert has to offer, such as encoding and decoding files to/from base64, converting between data formats with customizable options, and more! βš™οΈ

πŸ‘ Whether you're a seasoned developer or just starting out, SuperConvert is the perfect tool to simplify your data conversion tasks and improve your workflow. Give it a try today! πŸ’»πŸ‘¨β€πŸ’»

Features

  • Convert Json to Datatable

  • Convert Datatable to Json

  • DateTime convert from Gregorian To Hijri

  • DateTime convert from Hijri To Gregorian

  • Json convert to Csv

  • DataTable convert to Csv

  • Csv convert to Json

  • Csv convert to DataTable

  • Json to Xls

  • Datatable to Xls

  • Excel sheets (XLS, XLSX) and other data containers/types is already here Just use

 .ToXls() 

Tech

SuperConvet's code is based on .net core technology (netcoreapp3.1, net5.0, net6.0, net7.0, net8)

  • [.NetCore3.1, .Net5, .Net6, .Net7, .Net8] - C# !

  • GitHub Code - SuperConvert Project

Installation

Run the command on your nuget package console .

Install-Package SuperConvert -Version 1.0.4.9

Or

Open your nuget package manager and type the name of 'SuperConvert' on the search

Usage

Namespaces

using SuperConvert.Extentions;
using System.Data;

Json to dataTable

string customers = "[{\"CompanayID\":\"k123\",\"Role\":\"Admin\",\"Country\":\"UK\",\"Asset\":\"HD\",\"incident\":null}, {\"CompanayID\":\"k234\",\"Role\":\"User\",\"Country\":\"US\",\"Asset\":\"HD12\",\"incident\":\"abc 1\"}]";
DataTable dt = customers.ToDataTable("TableName");

DataTable to json

string json = dt.ToJson();

DateTime GregorianToHijri

DateTime timeNow = DateTime.Now;
DateTime hijri = DateConverter.GregorianToHijri(timeNow);

DateTime HijriToGregorian

DateTime gregorian = DateConverter.HijriToGregorian(hijri);

Excels

Datatable to Csv

string path = string.Empty;
string fileName = "DtToExcel";
string csvPath = dt.ToCsv(path, fileName);

Json To CSV

fileName = "JsonToExcel";
path = string.Empty;
string csvPath = json.ToCsv(path, fileName)

Json To XLS

fileName = "JsonToExcel";
path = string.Empty;
string csvPath = json.ToXls(path, fileName)

CSV To Json

string jsonFromCsv = ExcelConverter.CsvToJson(csvPath);

CSV To Datatable

DataTable csvDt = ExcelConverter.CsvToDataTable(csvPath);
Version README
1.0.4.9 https://www.nuget.org/packages/SuperConvert/1.0.4.9
1.0.4.8 https://www.nuget.org/packages/SuperConvert/1.0.4.8
1.0.4.7 https://www.nuget.org/packages/SuperConvert/1.0.4.7
1.0.4.6 https://www.nuget.org/packages/SuperConvert/1.0.4.6
1.0.4.5 https://www.nuget.org/packages/SuperConvert/1.0.4.5
1.0.4.4 https://www.nuget.org/packages/SuperConvert/1.0.4.4
1.0.4.3 https://www.nuget.org/packages/SuperConvert/1.0.4.3
1.0.4.2 https://www.nuget.org/packages/SuperConvert/1.0.4.2
1.0.4.1 [Deprecated]
1.0.4 [Deprecated]
1.0.3.7 https://www.nuget.org/packages/SuperConvert/1.0.3.7
1.0.3.6 https://www.nuget.org/packages/SuperConvert/1.0.3.6
1.0.3.5 https://www.nuget.org/packages/SuperConvert/1.0.3.5
1.0.3.4 https://www.nuget.org/packages/SuperConvert/1.0.3.4
1.0.3.3 https://www.nuget.org/packages/SuperConvert/1.0.3.3
1.0.3.2 https://www.nuget.org/packages/SuperConvert/1.0.3.2
1.0.3.1 [Deprecated]
1.0.3 https://www.nuget.org/packages/SuperConvert/1.0.3
1.0.2 https://www.nuget.org/packages/SuperConvert/1.0.2
1.0.1 https://www.nuget.org/packages/SuperConvert/1.0.1
1.0.0 https://www.nuget.org/packages/SuperConvert/1.0.0
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SuperConvert:

Package Downloads
SuperConvert.Files

SuperConvert is an open-source lightweight package to convert your data in c# Convert between data containers, Json/Datatable/Excelsheets and other data tables Create some json strings / Data tables Convert between them Convert DateTime Convert Json ⇔ Csv Convert DataTable ⇔ Csv ✨Magic ✨

SuperConvert.Abstraction

SuperConvert.Abstraction is an open-source lightweight package to convert your data in c# Convert between data containers, Json/Datatable/Excelsheets and other data tables Create some json strings / Data tables Convert between them Convert DateTime Convert Json ⇔ Csv Convert DataTable ⇔ Csv ✨Magic ✨

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4.9 5,780 12/11/2023
1.0.4.8 4,632 8/22/2023
1.0.4.7 181 8/15/2023
1.0.4.6 207 8/13/2023
1.0.4.5 1,620 7/11/2023
1.0.4.4 6,798 4/4/2023
1.0.4.3 688 3/23/2023
1.0.4.2 466 3/14/2023
1.0.4.1 237 3/14/2023
1.0.4 247 3/14/2023
1.0.3.7 2,680 1/9/2023
1.0.3.6 883 11/14/2022
1.0.3.5 377 11/9/2022
1.0.3.4 907 10/24/2022
1.0.3.3 518 10/5/2022
1.0.3.2 766 9/26/2022
1.0.3.1 449 9/26/2022
1.0.3 472 9/26/2022
1.0.2 434 9/25/2022
1.0.1 416 9/21/2022
1.0.0 558 9/18/2022