skip to Main Content

Can C# convert List<string> to JSON format?

I have a List of string that contains the below items: 001-HA-Manager 001-HA-Supervisor 001-HA-Validation 001-HA-DocumentReviewer 001-HA-ManagerReviewer 002-HA-Manager 002-HA-Supervisor 002-HA-Validation I need to those item on the below JSON format: { "Project": [ { "ProjectCode": "001", "Groups": ["Manager", "Supervisor", "Validation", "DocumentReviewer","ManagerReviewer"]…

VIEW QUESTION
Back To Top
Search