| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e82ae1ee-cdd4-4079-d02c-5fb914d00efb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE62:11E4FC:31152:4288B:6A5530E5 |
| html-safe-nonce | ae98782a6d9de750ef6c5eea936f3b56e0ea4ab3d3ea349bae0e23cc12592664 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTYyOjExRTRGQzozMTE1Mjo0Mjg4Qjo2QTU1MzBFNSIsInZpc2l0b3JfaWQiOiI2NzM5NzA5ODk3MjQyNjUyOTAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bf8b1589652bf35047389bc8f455454f2a67da16406e5617509f57eab6b541d3 |
| hovercard-subject-tag | pull_request:148689907 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/5229/files |
| twitter:image | https://avatars.githubusercontent.com/u/22290914?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22290914?s=400&v=4 |
| og:image:alt | Resolve #4220.
The cmdlet is based on NJsonSchema.
It allow to check:
Json by only parsing
Json against Schema
implicitly check Schema by parsing (based on previous line check)
NJsonSchema is und... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fbd8fce4d63ac394c5405faa20aa50d5c9e56b979ac43ee1b26f8e7c47c4cd89 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf96660b44878f418b09d3d6ecde00ad62332910 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/PowerShell/PowerShell/pull/5229/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5229%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F5229%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=PowerShell%2FPowerShell |
| Reload | https://github.com/PowerShell/PowerShell/pull/5229/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/5229/files |
| Reload | https://github.com/PowerShell/PowerShell/pull/5229/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
|
PowerShell
| https://github.com/PowerShell |
| PowerShell | https://github.com/PowerShell/PowerShell |
|
Notifications
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Fork
8.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Star
54.4k
| https://github.com/login?return_to=%2FPowerShell%2FPowerShell |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
1.2k
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
287
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
3
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
|
Code
| https://github.com/PowerShell/PowerShell |
|
Issues
| https://github.com/PowerShell/PowerShell/issues |
|
Pull requests
| https://github.com/PowerShell/PowerShell/pulls |
|
Discussions
| https://github.com/PowerShell/PowerShell/discussions |
|
Actions
| https://github.com/PowerShell/PowerShell/actions |
|
Projects
| https://github.com/PowerShell/PowerShell/projects |
|
Security and quality
| https://github.com/PowerShell/PowerShell/security |
|
Insights
| https://github.com/PowerShell/PowerShell/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FPowerShell%2FPowerShell%2Fissues%2Fnew%2Fchoose |
| TravisEz13 | https://github.com/TravisEz13 |
| PowerShell:master | https://github.com/PowerShell/PowerShell/tree/master |
| iSazonov:test-json | https://github.com/iSazonov/PowerShell/tree/test-json |
|
Conversation
74
| https://github.com/PowerShell/PowerShell/pull/5229 |
|
Commits
11
| https://github.com/PowerShell/PowerShell/pull/5229/commits |
|
Checks
0
| https://github.com/PowerShell/PowerShell/pull/5229/checks |
|
Files changed
| https://github.com/PowerShell/PowerShell/pull/5229/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
|
Add Test-Json cmdlet (NJsonSchema)
| https://github.com/PowerShell/PowerShell/pull/5229/files#top |
|
Show all changes
11 commits
| https://github.com/PowerShell/PowerShell/pull/5229/files |
|
0ec02a8
Add Test-Json
iSazonov Sep 7, 2017
| https://github.com/PowerShell/PowerShell/pull/5229/commits/0ec02a885f798dc5c713fa165553069dfb7809b5 |
|
77d6bbc
Add NJsonSchema license in ThirdPartyNotices .txt
iSazonov Nov 9, 2017
| https://github.com/PowerShell/PowerShell/pull/5229/commits/77d6bbc9ca21692dbc7d925c8754308882c21600 |
|
1b42fb2
Fix test
iSazonov Mar 16, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/1b42fb2dfccad34b98715751e23e116040e9b1e0 |
|
b664a3d
Use Pester 4 syntax
iSazonov Mar 16, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/b664a3d4c3aaf7aa8437ae1562645a283bca975e |
|
b72d638
Fix Files.wxs
iSazonov Mar 20, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/b72d638da874e059689563e84a7f80ec9e8fb6b1 |
|
4d3b51e
Add Copyright
iSazonov Mar 21, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/4d3b51e9634b5008f6283027292bccf6b2a5497f |
|
9a02436
Use Should -BeTrue and Should -BeFalse
iSazonov Mar 21, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/9a024366fd6db45ff770b26a58a6508b1f7e417c |
|
285dc4b
Replace Json with JSON
iSazonov Mar 23, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/285dc4b28ecf926233f2a1ffd5a2ffbb6429b866 |
|
aa1e2b4
Fix comments and resources
iSazonov Mar 23, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/aa1e2b4bebc9e2ab956e16334257712c71ac07ff |
|
ebc1a53
Fix null check
iSazonov Mar 23, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/ebc1a53df3e47a9c83514c450419613f29ebd8a8 |
|
17c2ceb
Fix tests
iSazonov Mar 23, 2018
| https://github.com/PowerShell/PowerShell/pull/5229/commits/17c2cebad2c859b5688478dea041e0190a6fb01e |
|
Clear filters
| https://github.com/PowerShell/PowerShell/pull/5229/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
|
ThirdPartyNotices.txt
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-39b094970d276cb11c8bf4cdd1284b2a92cb8cf8ab503c72009eea75bf3ae492 |
|
files.wxs
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
Microsoft.PowerShell.Commands.Utility.csproj
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-1d477db337d41a086f43d0d9351448c5781d5818a906fb88b55d5e08cf755509 |
|
TestJsonCommand.cs
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-75e882f1df5a078731c96023ef526ca48672b2d6d854008d1cc9d2182e44f990 |
|
TestJsonCmdletStrings.resx
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-6c61f7f561efe33fb8c2147ec0f3b8cd3c12456536d05dfb460e34fcdba2e347 |
|
Microsoft.PowerShell.Utility.psd1
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-71cdd0e9fdf8904e2a544191a7ff0fb5d487240ad36867ec76c2fe07be479019 |
|
Microsoft.PowerShell.Utility.psd1
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-557a2af314cb8ca2d4eb68f0a6e352165b7fc69c139988624fdf10329ea97c79 |
|
Test-Json.Tests.ps1
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-bba498ea0379e8b955537ae7d01af03dc9c2b30cda1a3483a807b8459bb19e93 |
|
DefaultCommands.Tests.ps1
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-adf034e44202ea065ef630717c6edd25fa8b7305ddd098cae7b35684368b363a |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| ThirdPartyNotices.txt | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-39b094970d276cb11c8bf4cdd1284b2a92cb8cf8ab503c72009eea75bf3ae492 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/ThirdPartyNotices.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-39b094970d276cb11c8bf4cdd1284b2a92cb8cf8ab503c72009eea75bf3ae492 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| assets/files.wxs | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/assets/files.wxs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-7d5fced8c9cef0b84edaa06416ca943f412f9d1708ad8407238514da5ea1a0e5 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L62 |
| src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-1d477db337d41a086f43d0d9351448c5781d5818a906fb88b55d5e08cf755509 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-1d477db337d41a086f43d0d9351448c5781d5818a906fb88b55d5e08cf755509 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cs | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-75e882f1df5a078731c96023ef526ca48672b2d6d854008d1cc9d2182e44f990 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
| TravisEz13 | https://github.com/TravisEz13 |
| Mar 20, 2018 | https://github.com/PowerShell/PowerShell/pull/5229/files#r175878138 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
| iSazonov | https://github.com/iSazonov |
| Mar 21, 2018 | https://github.com/PowerShell/PowerShell/pull/5229/files#r176065421 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Microsoft.PowerShell.Commands.Utility/resources/TestJsonCmdletStrings.resx | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-6c61f7f561efe33fb8c2147ec0f3b8cd3c12456536d05dfb460e34fcdba2e347 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/src/Microsoft.PowerShell.Commands.Utility/resources/TestJsonCmdletStrings.resx |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-71cdd0e9fdf8904e2a544191a7ff0fb5d487240ad36867ec76c2fe07be479019 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/src/Modules/Unix/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-71cdd0e9fdf8904e2a544191a7ff0fb5d487240ad36867ec76c2fe07be479019 |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-71cdd0e9fdf8904e2a544191a7ff0fb5d487240ad36867ec76c2fe07be479019 |
|
| https://github.com/PowerShell/PowerShell/blob/master/.github/CODEOWNERS#L7 |
| src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 | https://github.com/PowerShell/PowerShell/pull/5229/files#diff-557a2af314cb8ca2d4eb68f0a6e352165b7fc69c139988624fdf10329ea97c79 |
|
View file
| https://github.com/iSazonov/PowerShell/blob/17c2cebad2c859b5688478dea041e0190a6fb01e/src/Modules/Windows-Core/Microsoft.PowerShell.Utility/Microsoft.PowerShell.Utility.psd1 |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/PowerShell/PowerShell/pull/5229/{{ revealButtonHref }} |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-557a2af314cb8ca2d4eb68f0a6e352165b7fc69c139988624fdf10329ea97c79 |
|
| https://github.com/PowerShell/PowerShell/pull/5229/files#diff-557a2af314cb8ca2d4eb68f0a6e352165b7fc69c139988624fdf10329ea97c79 |
| Please reload this page | https://github.com/PowerShell/PowerShell/pull/5229/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |