JSON to Object Initializer - C# icon

JSON to Object Initializer - C#

Extension Actions

CRX ID
elbbeegjkcjpnfbaljbomkmenlcjliel
Status
  • Extension status: Featured
Description from extension meta

A simple utility tool to convert JSON string to Object Initializer format in C#.

Image from store
JSON to Object Initializer - C#
Description from store

Usage:
1. Can be used in Code Examples.
2. Can be used in Test Data for Unit Testing.

Latest reviews

Steve Davey
Needs to preserve casing of symbols
Steve Davey
Needs to preserve casing of symbols
Inclouds
Unnecessary changes property names
Inclouds
Unnecessary changes property names
Patrick
Great extension, thanks! Could be even better if the Pascal casing is also used while generating the class and Property names: Current: { "TestWithPascalCase": { "TestInteger": 6, "TestString": "abcdef" } } new Test { Testwithpascalcase = new Testwithpascalcase { Testinteger = 6, Teststring = "abcdef" } } Expected: new Test { TestWithPascalCase = new TestWithPascalCase { TestInteger = 6, TestString = "abcdef" } }
Patrick
Great extension, thanks! Could be even better if the Pascal casing is also used while generating the class and Property names: Current: { "TestWithPascalCase": { "TestInteger": 6, "TestString": "abcdef" } } new Test { Testwithpascalcase = new Testwithpascalcase { Testinteger = 6, Teststring = "abcdef" } } Expected: new Test { TestWithPascalCase = new TestWithPascalCase { TestInteger = 6, TestString = "abcdef" } }