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.
<PackageVersion Include="SuperConvert" Version="1.0.4.9" />
                    
Directory.Packages.props
<PackageReference Include="SuperConvert" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#addin nuget:?package=SuperConvert&version=1.0.4.9
                    
Install SuperConvert as a Cake Addin
#tool nuget:?package=SuperConvert&version=1.0.4.9
                    
Install SuperConvert as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (1)

Showing the top 1 popular GitHub repositories that depend on SuperConvert:

Repository Stars
VedAstro/VedAstro
A non-profit, open source project to make Vedic Astrology easily available to all.
Version Downloads Last updated
1.0.4.9 46,111 12/11/2023
1.0.4.8 5,973 8/22/2023
1.0.4.7 235 8/15/2023
1.0.4.6 296 8/13/2023
1.0.4.5 2,928 7/11/2023
1.0.4.4 13,637 4/4/2023
1.0.4.3 740 3/23/2023
1.0.4.2 601 3/14/2023
1.0.4.1 301 3/14/2023 1.0.4.1 is deprecated because it has critical bugs.
1.0.4 315 3/14/2023 1.0.4 is deprecated because it has critical bugs.
1.0.3.7 2,892 1/9/2023
1.0.3.6 1,448 11/14/2022
1.0.3.5 437 11/9/2022
1.0.3.4 967 10/24/2022
1.0.3.3 604 10/5/2022
1.0.3.2 4,181 9/26/2022
1.0.3.1 527 9/26/2022 1.0.3.1 is deprecated because it has critical bugs.
1.0.3 560 9/26/2022
1.0.2 506 9/25/2022
1.0.1 476 9/21/2022
1.0.0 679 9/18/2022