docs.microsoft.com/en-us/powershell/module/5.1/microsoft.powershell.utility/ConvertFrom-Json

Preview meta tags from the docs.microsoft.com website.

Linked Hostnames

8

Thumbnail

Search Engine Appearance

Google

https://docs.microsoft.com/en-us/powershell/module/5.1/microsoft.powershell.utility/ConvertFrom-Json

ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell

The ConvertFrom-Json cmdlet converts a JavaScript Object Notation (JSON) formatted string to a custom PSObject or Hashtable object that has a property for each field in the JSON string. JSON is commonly used by web sites to provide a textual representation of objects. The cmdlet adds the properties to the new object as it processes each line of the JSON string. The JSON standard allows duplicate key names, which are prohibited in PSObject and Hashtable types. For example, if the JSON string contains duplicate keys, only the last key is used by this cmdlet. See other examples below. To generate a JSON string from any object, use the ConvertTo-Json cmdlet. This cmdlet was introduced in PowerShell 3.0. Note In Windows PowerShell 5.1, ConvertFrom-Json returned an error when it encountered a JSON comment. In PowerShell 6 and higher, the cmdlet supports JSON with comments. JSON comments aren't captured in the objects output by the cmdlet. For more information, see the JSON comments section of the about_Comments article.



Bing

ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell

https://docs.microsoft.com/en-us/powershell/module/5.1/microsoft.powershell.utility/ConvertFrom-Json

The ConvertFrom-Json cmdlet converts a JavaScript Object Notation (JSON) formatted string to a custom PSObject or Hashtable object that has a property for each field in the JSON string. JSON is commonly used by web sites to provide a textual representation of objects. The cmdlet adds the properties to the new object as it processes each line of the JSON string. The JSON standard allows duplicate key names, which are prohibited in PSObject and Hashtable types. For example, if the JSON string contains duplicate keys, only the last key is used by this cmdlet. See other examples below. To generate a JSON string from any object, use the ConvertTo-Json cmdlet. This cmdlet was introduced in PowerShell 3.0. Note In Windows PowerShell 5.1, ConvertFrom-Json returned an error when it encountered a JSON comment. In PowerShell 6 and higher, the cmdlet supports JSON with comments. JSON comments aren't captured in the objects output by the cmdlet. For more information, see the JSON comments section of the about_Comments article.



DuckDuckGo

https://docs.microsoft.com/en-us/powershell/module/5.1/microsoft.powershell.utility/ConvertFrom-Json

ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell

The ConvertFrom-Json cmdlet converts a JavaScript Object Notation (JSON) formatted string to a custom PSObject or Hashtable object that has a property for each field in the JSON string. JSON is commonly used by web sites to provide a textual representation of objects. The cmdlet adds the properties to the new object as it processes each line of the JSON string. The JSON standard allows duplicate key names, which are prohibited in PSObject and Hashtable types. For example, if the JSON string contains duplicate keys, only the last key is used by this cmdlet. See other examples below. To generate a JSON string from any object, use the ConvertTo-Json cmdlet. This cmdlet was introduced in PowerShell 3.0. Note In Windows PowerShell 5.1, ConvertFrom-Json returned an error when it encountered a JSON comment. In PowerShell 6 and higher, the cmdlet supports JSON with comments. JSON comments aren't captured in the objects output by the cmdlet. For more information, see the JSON comments section of the about_Comments article.

  • General Meta Tags

    59
    • title
      ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1.0
    • color-scheme
      light dark
    • description
      The ConvertFrom-Json cmdlet converts a JavaScript Object Notation (JSON) formatted string to a custom PSObject or Hashtable object that has a property for each field in the JSON string. JSON is commonly used by web sites to provide a textual representation of objects. The cmdlet adds the properties to the new object as it processes each line of the JSON string. The JSON standard allows duplicate key names, which are prohibited in PSObject and Hashtable types. For example, if the JSON string contains duplicate keys, only the last key is used by this cmdlet. See other examples below. To generate a JSON string from any object, use the ConvertTo-Json cmdlet. This cmdlet was introduced in PowerShell 3.0. Note In Windows PowerShell 5.1, ConvertFrom-Json returned an error when it encountered a JSON comment. In PowerShell 6 and higher, the cmdlet supports JSON with comments. JSON comments aren't captured in the objects output by the cmdlet. For more information, see the JSON comments section of the about_Comments article.
  • Open Graph Meta Tags

    6
    • og:type
      website
    • og:image:alt
      ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn
    • og:image
      https://learn.microsoft.com/media/logos/logo-powershell-social.png
    • og:title
      ConvertFrom-Json (Microsoft.PowerShell.Utility) - PowerShell
    • og:url
      https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertfrom-json?view=powershell-7.5
  • Twitter Meta Tags

    2
    • twitter:card
      summary
    • twitter:site
      @MicrosoftLearn
  • Link Tags

    6
    • canonical
      https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertfrom-json?view=powershell-7.5
    • dns-prefetch
      //target.microsoft.com
    • dns-prefetch
      //microsoftmscompoc.tt.omtrdc.net
    • preconnect
      //mscom.demdex.net
    • preload
      /static/third-party/adobe-target/at-js/2.9.0/at.js

Links

23