Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Best way to work with JSON data

$
0
0

So I need to import 3 json files, they range from 10MB to 40MB in size. Each of them has data that coincides with data in the others. What is the best way to import the data and use it? Right now I just have like

$json1 = get-content .file.txt | convertfrom-json 

Then i just use $json1.result.field that I need. Would it be easier/faster to use custom objects or just leave it as it?

submitted by /u/saGot3n
[link] [comments]

The post Best way to work with JSON data appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles