Package com.x2j.converter.main


package com.x2j.converter.main
  • Classes
    Class
    Description
    This is the main class that will run when the x2j jar file is executed from command line.
    The only mandatory argument that is required is the input XML file path.
    If the JSON schema file path is passed as an argument, then that will be used for conversion, otherwise the default conversion logic will be applied.
    For more information on JSON schema definition, please visit: XML-To-JSON Converter
    Additionally, if the output file path is passed as an argument, then the output converted JSON will be saved in the specified file, otherwise the converted JSON will be printed in the console.