Forrest logo
back to context overview

test-json

List of commands for test-json:

  • test-json:tldr:16ac3 test-json: Test if a string from stdin is in JSON format.
    $ '${string}' | Test-Json
    try on your machine
    explain this command
  • test-json:tldr:6ed0f test-json: Test if a string JSON format.
    $ Test-Json -Json '${json_to_test}'
    try on your machine
    explain this command
  • test-json:tldr:805fb test-json: Test if a string from stdin matches a specific schema file.
    $ '${string}' | Test-Json -SchemaFile ${path\to\schema_file-json}
    try on your machine
    explain this command
back to context overview