# Deserialize Json to DataTable error

**URL:** <https://forum.uipath.com/t/deserialize-json-to-datatable-error/754760>\
**Category:** Activities\
**Tags:** web, webapi, activities\
**Created:** [July 19, 2024, 5:21am UTC](https://forum.uipath.com/t/deserialize-json-to-datatable-error/754760 "2024-07-19T05:21:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![mkankatala](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/mkankatala/32/484097_2.png) [@mkankatala](https://forum.uipath.com/u/mkankatala)\
**Post date:** [July 19, 2024, 5:25am UTC](https://forum.uipath.com/t/deserialize-json-to-datatable-error/754760/2 "2024-07-19T05:25:59Z")

</div>

Hi @ecosy6065

Can you refer the below thread,

> [@API Json response to datatable](https://forum.uipath.com/t/api-json-response-to-datatable/573083/3):
>
> Deserialize the JSON with: [grafik] output: myJObject | TypeArgument: JObject then we can convert this JObject to a DataTable by: myDataTable = Newtonsoft.Json.Linq.JArray.FromObject(new JObject(){myJObject}).ToObject(Of DataTable)

Hope it helps!!

---

_[View the full topic](https://forum.uipath.com/t/deserialize-json-to-datatable-error/754760)._
