GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PoshWeb/JSON-LD: Get JSON Linked Data with PowerShell

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
Build
Build
 
 
Commands
Commands
 
 
Types/JsonLD
Types/JsonLD
 
 
CHANGELOG.md
CHANGELOG.md
 
 
JSON-LD.psd1
JSON-LD.psd1
 
 
JSON-LD.psm1
JSON-LD.psm1
 
 
JSON-LD.tests.ps1
JSON-LD.tests.ps1
 
 
JSON-LD.types.ps1xml
JSON-LD.types.ps1xml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
README.md.ps1
README.md.ps1
 
 

Repository files navigation

JSON-LD

JSON-LD

Get JSON Linked Data with PowerShell

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.

Installing and Importing

You can install JSON-LD from the PowerShell gallery

Install-Module JSON-LD -Scope CurrentUser -Force

Once installed, you can import the module with:

Import-Module JSON-LD -PassThru

You can also clone the repo and import the module locally:

git clone https://github.com/PoshWeb/JSON-LD
cd ./JSON-LD
Import-Module ./ -PassThru

Functions

JSON-LD has 1 function

Get-JsonLD

Gets JSON-LD data from a given URL.

Gets JSON Linked Data from a given URL.

This is a format used by many websites to provide structured data about their content.

Examples
Example 1

Want to get information about a movie? Linked Data to the rescue!

Get-JsonLD -Url https://letterboxd.com/film/amelie/
Example 2

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-rights
Example 3

Want 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.
Parameters
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.

LICENSE

About

Get JSON Linked Data with PowerShell

Topics

jsonpowershellpowershell-moduleseoweb-standards

Resources

Readme
MIT license
Activity
Custom properties

Stars

4 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.