config2json 1.0.0

dotnet tool install --global config2json --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local config2json --version 1.0.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=config2json&version=1.0.0                
nuke :add-package config2json --version 1.0.0                

Converts a web.config/app.config file to an appsettings.json file

Installation

The latest release of config2json requires the 6.0.100 .NET Core SDK or newer. Once installed, run this command:

dotnet tool install -g config2json

Usage

Usage: config2json [options] <path> <prefix>

Arguments:
  path          Path to the file or directory to migrate
  prefix        If provided, an additional namespace to prefix on generated keys

Options:
  -?|-h|--help  Show help information.
  -r|--raw      Show parsed raw key/value.

 Performs basic migration of an xml .config file to
 a JSON file. Uses the 'key' value as the key, and the
 'value' as the value. Can optionally replace a given
 character with the section marker (':').
Product 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.

This package has no dependencies.

Version Downloads Last updated
1.0.0 866 4/7/2022