XSDService 1.1.3
Suggested Alternatives
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package XSDService --version 1.1.3
NuGet\Install-Package XSDService -Version 1.1.3
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="XSDService" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XSDService --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XSDService, 1.1.3"
#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 XSDService as a Cake Addin #addin nuget:?package=XSDService&version=1.1.3 // Install XSDService as a Cake Tool #tool nuget:?package=XSDService&version=1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Xsd To Json Converter
This will help to convert any XSD to JSON
Install package
- Install the
XSDService
NuGet package.
- .NET CLI
dotnet add package XSDService --version 1.1.3
- PackageManager
Install-Package XSDService -Version 1.1.3
Usage
using XSDService;
var fileInfo = new FileInfo(fileName);
if (File.Exists(fileName) && fileInfo.Extension.Equals(".xsd"))
{
XsdToJson xsdLib = new(fileName);
xsdLib.Convert();
File.AppendAllText(fileInfo.FullName.Replace(".xsd", ".json"), xsdLib.SchemaJson);
}
Model of JSON
{
id: string;
name: string;
dataType: string;
minOccurs: string;
maxOccurs: string;
minLength: string;
maxLength: string;
pattern: string;
fractionDigits: string;
totalDigits: string;
minInclusive: string;
maxInclusive: string;
values: string[];
isCurrency: boolean;
xpath: string;
elements: SchemaElement[];
}
Changes
Version 1.1.3 release
- New constructors added.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.3.6 | 6,302 | 8/31/2024 | |
1.3.5 | 5,138 | 8/6/2024 | |
1.3.4 | 102 | 8/6/2024 | |
1.3.3 | 105 | 8/6/2024 | |
1.3.2 | 92 | 8/6/2024 | |
1.3.1 | 88 | 8/4/2024 | |
1.3.0 | 67 | 7/29/2024 | |
1.2.1 | 83 | 7/28/2024 | |
1.2.0 | 117 | 7/22/2024 | |
1.1.4 | 214 | 10/28/2023 | |
1.1.3 | 190 | 8/13/2023 | |
1.1.2 | 168 | 8/13/2023 | |
1.1.1 | 168 | 8/11/2023 | |
1.1.0 | 179 | 8/10/2023 |