Get JSON Linked Data with PowerShell
Gets information stored in a page's json-ld (json linked data)
Many pages expose this information for search engine optimization.
This module lets you easily get and work with JSON-LD objects.
You can install JSON-LD from the PowerShell gallery
Install-Module JSON-LD -Scope CurrentUser -ForceOnce installed, you can import the module with:
Import-Module JSON-LD -PassThruYou can also clone the repo and import the module locally:
git clone https://github.com/PoshWeb/JSON-LD
cd ./JSON-LD
Import-Module ./ -PassThruJSON-LD has 1 function
Gets JSON Linked Data from a given URL.
This is a format used by many websites to provide structured data about their content.
Want to get information about a movie? Linked Data to the rescue!
Get-JsonLD -Url https://letterboxd.com/film/amelie/Want information about an article? Lots of news sites use this format.
Get-JsonLD https://www.thebulwark.com/p/mahmoud-khalil-immigration-detention-first-amendment-free-speech-rightsWant to get information about a schema?
jsonld https://schema.org/Movie
# Get-JSONLD will output the contents of a `@Graph` object if no `@type` is found.| Name | Type | Description |
|---|---|---|
| Url | Uri | The URL that may contain JSON-LD data |
| as | String | If set, will the output as: |
| Force | SwitchParameter | If set, will force the request to be made even if the URL has already been cached. |
(c) 2025-2026 Start-Automating.