Introduction

The xsd2code++ code generation tool translates an XML or JSON Schema Definition (XSD) source file into computer language C# or VB source files. These source files contain an application programming interface (API) that allows programmatic data to be encoded to XML, JSON, BSON format and decoded to programmatic variables. Each variable is of a type that corresponds to a type, element, or attribute defined within the XML or JSON schema document. Each XSD or JSON source file results in the generation of C# classes that represent each of the XSD or JSON types and global elements contained within the Schema  source file. These classes contain encode, decode, and utility functions.

The power of xsd2code++ is to produce code that does not require the use of any external library. The code is 100% DotNet native and allows you to adapt it to your needs.

This is a walk-through tutorial that takes you through the process of developing an XML & JSON Data Binding Component from an XML Schema (XSD) or JSON Schema (JSON).

It is assumed that you have a working knowledge of XSD & JSON and either C#, VB .Net.

The concepts covered are:

  • Running xsd2code++ from Visual Studio or from command line
  • Generating the XML Data Binding Component depending on your needs
  • Explain all the possibilities of code generation, the different options and optimization

The different examples in this document will be based on the following schema:

Terms & privacy

Terms of uses · Privacy policy 

Contact

CodeNGine Technologies, 19 Avenue, de la gare, 34770 Gigean, France. SIRET: 85257252800010, VAT : FR 62852572528
codengine.technologies@xsd2code.com

About the company

CodeNGine Technologies is software company based in the South of France that provides an advanced productivity code generation tool to developers using XML and JSON


Copyright © 2021 CodeNGine Technologies