Convert to/from JSON in Powershell!

preview_player
Показать описание

Use the new cmdlets in Powershell 3 to interface with JSON Object models

DOWNLOAD the script:
Рекомендации по теме
Комментарии
Автор

So I see you're also using a workaround to convert the returned json into a pscustomobject, but I read that convert-fromjson already returns one, and I'm struggling understand why people are needing to iterate through and rebuild the returned json like that. For my beginner case, I need to read a json to an array such that I can add a new hashtable and it's driving me insane. Of course I am stuck with PS 5.1 too

geodescent
Автор

Oh man, here in 2021. "Reddit is a website about cats".

jadams
Автор

Bro I'm beginner
I have a ".json" file converted from ".ass" file, how can I return it back??

thephantom
Автор

How u knew .Item after .data also why you used (0) instead of [0].? as such Item[0] does not give any output.

abbeydudeuk