Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Json2CSharp Converter
Json2CSharp Converter

Json2CSharp Converter

Themistoklis Sevastos

|
986 installs
| (5) | Free
Json2CSharp Converter
Download

Just an extension which converts a json to C# code

For example:

{
	"creditInfo": {
		"account": "4230677804",
		"status": "ΕΝΕΡΓΟΣ             ",
		"product": {
			"code": "01414101Β01",
			"description": "Description"
		},
		"accountType": "ΚΑΤΑΝΑΛΩΤΙΚΟ        ",
		"accountOverdueStatus": "ΕΝΗΜΕΡΟ",
		"branch": "0040"
	}
}

To :

{
	CreditInfo = new CreditInfo
	{
		Account = "4230677804",
		Status = "ΕΝΕΡΓΟΣ             ",
		Product = new Product
		{
			Code = "01414101Β01",
			Description = "Description"
		},
		AccountType = "ΚΑΤΑΝΑΛΩΤΙΚΟ        ",
		AccountOverdueStatus = "ΕΝΗΜΕΡΟ",
		Branch = "0040"
	}
}

You have to copy a json string and then from menu navigate to "Edit" -> "Paste Json as C# Code". PasteJSONASCSHARP.png

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft