Sid KC

Sid KC

  • 1.5k
  • 209
  • 1.1k

Convert ~~ separated string to json in .net core

Jun 4 2019 5:03 AM
Hi, I have string input in the form Field1~~Field2~~Field3~~Field4 Value1~~Value2~~Value3~~Value4 And expecting json in the format ["Field1":"Value1","Field2":"Value2","Field3":"Value3","Field4":"Value4"] Is there any way possible to achieve this in .net core ...

Answers (3)