# Jsonarray to DT

**URL:** <https://forum.uipath.com/t/jsonarray-to-dt/452740>\
**Category:** Activities\
**Tags:** system, webapi, activities\
**Created:** [June 30, 2022, 12:20pm UTC](https://forum.uipath.com/t/jsonarray-to-dt/452740 "2022-06-30T12:20:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pranay\_reddy](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/pranay_reddy/32/270208_2.png) [@Pranay\_reddy](https://forum.uipath.com/u/Pranay_reddy)\
**Post date:** [June 30, 2022, 12:20pm UTC](https://forum.uipath.com/t/jsonarray-to-dt/452740/1 "2022-06-30T12:20:33Z")

</div>

[jsondata.txt](https://forum.uipath.com/uploads/short-url/uAsYnj5fE30F7533j1MmI0pf6cu.txt) (2.1 KB)

---

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [June 30, 2022, 12:22pm UTC](https://forum.uipath.com/t/jsonarray-to-dt/452740/2 "2022-06-30T12:22:16Z")

</div>

have a look here:

> [@Convert JSON Array to CSV](https://forum.uipath.com/t/convert-json-array-to-csv/452724/4):
>
> first very important thing is that you check that the JSON is surrounded with { } (in your txt it was missing / invalid JSON string) the Result property value is the JSON representation of a datatable. So were able to use for a deserialization and can convert from this JSON string the corresponding Datatable Ensure following: [grafik] Create a variable: dtResult | Datatype: DataTable Just use an assign acitvity dtResult = JsonConvert.DeserializeObject(Of DataTable)(yourDeserializeJSONOutp…
