How to convert the following json object into to a new JSON object in c#
Json Data in present format: currently I am getting data from a database in the following format which I am storing in a DataTable.
Get json response data from datatable
I have a code that works today, and wondering if i could do this code easier/faster?
The response data is about 9500 rows every time
While Converting Datatable to Json , datetime is getting with “\/Date(1722796200000)\/” format
While Converting the DataTable
to Json
File, the field with DateTime
is converting to a */Date(1722796200000)/*? there is any solution to convert the method to a real datetime
or json
datetime
format “2024-08-05T00:00:00”