docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-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/microsoft.powershell.utility/convertto-json

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

The ConvertTo-Json cmdlet converts any .NET object to a string in JavaScript Object Notation (JSON) format. The properties are converted to field names, the field values are converted to property values, and the methods are removed. Note As of PowerShell 7.2, Extended Type System properties of DateTime and String objects are no longer serialized and only the simple object is converted to JSON format You can then use the ConvertFrom-Json cmdlet to convert a JSON-formatted string to a JSON object, which is easily managed in PowerShell. Many web sites use JSON instead of XML to serialize data for communication between servers and web-based apps. As of PowerShell 7.1, ConvertTo-Json emits a warning if the depth of the input object exceeds the depth specified for the command. This prevents unwanted data loss when converting objects. As of PowerShell 7.5-preview.3, ConvertTo-Json can serialize BigInteger values as raw JSON numbers. This cmdlet was introduced in Windows PowerShell 3.0.



Bing

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

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-json

The ConvertTo-Json cmdlet converts any .NET object to a string in JavaScript Object Notation (JSON) format. The properties are converted to field names, the field values are converted to property values, and the methods are removed. Note As of PowerShell 7.2, Extended Type System properties of DateTime and String objects are no longer serialized and only the simple object is converted to JSON format You can then use the ConvertFrom-Json cmdlet to convert a JSON-formatted string to a JSON object, which is easily managed in PowerShell. Many web sites use JSON instead of XML to serialize data for communication between servers and web-based apps. As of PowerShell 7.1, ConvertTo-Json emits a warning if the depth of the input object exceeds the depth specified for the command. This prevents unwanted data loss when converting objects. As of PowerShell 7.5-preview.3, ConvertTo-Json can serialize BigInteger values as raw JSON numbers. This cmdlet was introduced in Windows PowerShell 3.0.



DuckDuckGo

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-json

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

The ConvertTo-Json cmdlet converts any .NET object to a string in JavaScript Object Notation (JSON) format. The properties are converted to field names, the field values are converted to property values, and the methods are removed. Note As of PowerShell 7.2, Extended Type System properties of DateTime and String objects are no longer serialized and only the simple object is converted to JSON format You can then use the ConvertFrom-Json cmdlet to convert a JSON-formatted string to a JSON object, which is easily managed in PowerShell. Many web sites use JSON instead of XML to serialize data for communication between servers and web-based apps. As of PowerShell 7.1, ConvertTo-Json emits a warning if the depth of the input object exceeds the depth specified for the command. This prevents unwanted data loss when converting objects. As of PowerShell 7.5-preview.3, ConvertTo-Json can serialize BigInteger values as raw JSON numbers. This cmdlet was introduced in Windows PowerShell 3.0.

  • General Meta Tags

    59
    • title
      ConvertTo-Json (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn
    • charset
      utf-8
    • viewport
      width=device-width, initial-scale=1.0
    • color-scheme
      light dark
    • description
      The ConvertTo-Json cmdlet converts any .NET object to a string in JavaScript Object Notation (JSON) format. The properties are converted to field names, the field values are converted to property values, and the methods are removed. Note As of PowerShell 7.2, Extended Type System properties of DateTime and String objects are no longer serialized and only the simple object is converted to JSON format You can then use the ConvertFrom-Json cmdlet to convert a JSON-formatted string to a JSON object, which is easily managed in PowerShell. Many web sites use JSON instead of XML to serialize data for communication between servers and web-based apps. As of PowerShell 7.1, ConvertTo-Json emits a warning if the depth of the input object exceeds the depth specified for the command. This prevents unwanted data loss when converting objects. As of PowerShell 7.5-preview.3, ConvertTo-Json can serialize BigInteger values as raw JSON numbers. This cmdlet was introduced in Windows PowerShell 3.0.
  • Open Graph Meta Tags

    6
    • og:type
      website
    • og:image:alt
      ConvertTo-Json (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn
    • og:image
      https://learn.microsoft.com/media/logos/logo-powershell-social.png
    • og:title
      ConvertTo-Json (Microsoft.PowerShell.Utility) - PowerShell
    • og:url
      https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/convertto-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/convertto-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

21