<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>PowerShellJSON Wiki &amp; Documentation Rss Feed</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home</link><description>PowerShellJSON Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/wikipage?version=27</link><description>&lt;div class="wikidoc"&gt;&lt;h1&gt;PowerShell V3 in Preview&lt;/h1&gt;
Windows 8 was released on 9/12/2011 and with it came PowerShell V3. &lt;br /&gt;Included in PowerShell V3 are two new functions ConvertFrom-Json, ConvertTo-Json. &lt;br /&gt;The code in this project can be used in previous versions of PowerShell.&lt;br /&gt;&lt;br /&gt;Please note, this is not as robust as what the Microsoft PowerShell team delivered and I will not be making any additions to it.&lt;br /&gt;&lt;br /&gt;I encourage you to get PowerShell V3 and try out these commands. There are many sites which support JSON. PowerShell V3 will interact with them nicely.&lt;br /&gt;&lt;br /&gt;In fact. The examples below work great in V3.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Doug&lt;br /&gt;&lt;br /&gt;
&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;ConvertFrom-JSON&lt;/h4&gt;&lt;pre&gt;
PS C:\&amp;gt; &amp;#39;[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]&amp;#39; | ConvertFrom-JSON

title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;h4&gt;ConvertTo-JSON&lt;/h4&gt;&lt;pre&gt;
(New-Object PSObject |
   Add-Member -PassThru NoteProperty Name &amp;#39;John Doe&amp;#39; |
   Add-Member -PassThru NoteProperty Age 10          |
   Add-Member -PassThru NoteProperty Amount 10.1     |
   Add-Member -PassThru NoteProperty MixedItems (1,2,3,&amp;quot;a&amp;quot;) |
   Add-Member -PassThru NoteProperty NumericItems (1,2,3) |
   Add-Member -PassThru NoteProperty StringItems (&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;)
) | ConvertTo-JSON
&lt;/pre&gt;
&lt;h4&gt;Generated JSON&lt;/h4&gt;&lt;pre&gt;
{
  &amp;quot;Age&amp;quot;: 10,
  &amp;quot;Amount&amp;quot;: 10.1,
  &amp;quot;MixedItems&amp;quot;: [1,2,3,&amp;quot;a&amp;quot;],
  &amp;quot;Name&amp;quot;: &amp;quot;John Doe&amp;quot;,
  &amp;quot;NumericItems&amp;quot;: [1,2,3],
  &amp;quot;StringItems&amp;quot;: [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;] 
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Fri, 16 Sep 2011 00:27:11 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110916122711A</guid></item><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/Wiki/View.aspx?title=Home&amp;version=26</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;ConvertFrom-JSON&lt;/h4&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | ConvertFrom-JSON

title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;h4&gt;ConvertTo-JSON&lt;/h4&gt;&lt;pre&gt;
(New-Object PSObject |
   Add-Member -PassThru NoteProperty Name 'John Doe' |
   Add-Member -PassThru NoteProperty Age 10          |
   Add-Member -PassThru NoteProperty Amount 10.1     |
   Add-Member -PassThru NoteProperty MixedItems (1,2,3,&amp;quot;a&amp;quot;) |
   Add-Member -PassThru NoteProperty NumericItems (1,2,3) |
   Add-Member -PassThru NoteProperty StringItems (&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;)
) | ConvertTo-JSON
&lt;/pre&gt;
&lt;h4&gt;Generated JSON&lt;/h4&gt;&lt;pre&gt;
{
  &amp;quot;Age&amp;quot;: 10,
  &amp;quot;Amount&amp;quot;: 10.1,
  &amp;quot;MixedItems&amp;quot;: [1,2,3,&amp;quot;a&amp;quot;],
  &amp;quot;Name&amp;quot;: &amp;quot;John Doe&amp;quot;,
  &amp;quot;NumericItems&amp;quot;: [1,2,3],
  &amp;quot;StringItems&amp;quot;: [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;] 
}
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Thu, 13 Aug 2009 00:44:38 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090813124438A</guid></item><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/Wiki/View.aspx?title=Home&amp;version=25</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;ConvertFrom-JSON&lt;/h4&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | ConvertFrom-JSON

title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;h4&gt;ConvertTo-JSON&lt;/h4&gt;&lt;pre&gt;
(New-Object PSObject |
   Add-Member -PassThru NoteProperty Name 'John Doe' |
   Add-Member -PassThru NoteProperty Age 10          |
   Add-Member -PassThru NoteProperty Amount 10.1     |
   Add-Member -PassThru NoteProperty MixedItems (1,2,3,&amp;quot;a&amp;quot;) |
   Add-Member -PassThru NoteProperty NumericItems (1,2,3) |
   Add-Member -PassThru NoteProperty StringItems (&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;)
) | ConvertTo-JSON
&lt;/pre&gt;
&lt;h4&gt;Generated JSON&lt;/h4&gt;&lt;pre&gt;
{
  &amp;quot;Age&amp;quot;: 10,
  &amp;quot;Amount&amp;quot;: 10.1,
  &amp;quot;MixedItems&amp;quot;: [1,2,3,&amp;quot;a&amp;quot;],
  &amp;quot;Name&amp;quot;: &amp;quot;John Doe&amp;quot;,
  &amp;quot;NumericItems&amp;quot;: [1,2,3],
  &amp;quot;StringItems&amp;quot;: [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;] 
}
&lt;/pre&gt;
&lt;h4&gt;The Script&lt;/h4&gt;Place the script in a directory which is in your path
&lt;h4&gt;Managed DLL&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://powershelljson.codeplex.com/Wiki/View.aspx?title=%5breflection.assembly%5d"&gt;&amp;#91;reflection.assembly&amp;#93;&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;
&lt;h4&gt;The SnapIn &lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt;&lt;br /&gt;
&lt;h4&gt;Performance&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;The PowerShell script is the slowest but easiest to modify.&lt;/li&gt;
&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Thu, 13 Aug 2009 00:43:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090813124353A</guid></item><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/Wiki/View.aspx?title=Home&amp;version=24</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Project Description&lt;/h3&gt;PowerShell objects from JSON data. A script, dll and snapin for deserializing JSON data into PowerShell objects.&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.
&lt;ol&gt;&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;
&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;ConvertFrom-JSON&lt;/h4&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | ConvertFrom-JSON

title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;h4&gt;ConvertTo-JSON&lt;/h4&gt;&lt;pre&gt;
(New-Object PSObject |
   Add-Member -PassThru NoteProperty Name 'John Doe' |
   Add-Member -PassThru NoteProperty Age 10          |
   Add-Member -PassThru NoteProperty Amount 10.1     |
   Add-Member -PassThru NoteProperty MixedItems (1,2,3,&amp;quot;a&amp;quot;) |
   Add-Member -PassThru NoteProperty NumericItems (1,2,3) |
   Add-Member -PassThru NoteProperty StringItems (&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;)
) | ConvertTo-JSON
&lt;/pre&gt;
&lt;h4&gt;Generated JSON&lt;/h4&gt;&lt;pre&gt;
{
  &amp;quot;Age&amp;quot;: 10,
  &amp;quot;Amount&amp;quot;: 10.1,
  &amp;quot;MixedItems&amp;quot;: [1,2,3,&amp;quot;a&amp;quot;],
  &amp;quot;Name&amp;quot;: &amp;quot;John Doe&amp;quot;,
  &amp;quot;NumericItems&amp;quot;: [1,2,3],
  &amp;quot;StringItems&amp;quot;: [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;] 
}
&lt;/pre&gt;
&lt;h4&gt;The Script&lt;/h4&gt;Place the script in a directory which is in your path
&lt;h4&gt;Managed DLL&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://powershelljson.codeplex.com/Wiki/View.aspx?title=%5breflection.assembly%5d"&gt;&amp;#91;reflection.assembly&amp;#93;&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;
&lt;h4&gt;The SnapIn &lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt;&lt;br /&gt;
&lt;h4&gt;Performance&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;The PowerShell script is the slowest but easiest to modify.&lt;/li&gt;
&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Thu, 13 Aug 2009 00:37:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090813123708A</guid></item><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/Wiki/View.aspx?title=Home&amp;version=23</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Project Description&lt;/h3&gt;PowerShell objects from JSON data. A script, dll and snapin for deserializing JSON data into PowerShell objects.&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.
&lt;ol&gt;&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;
&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;&lt;/ol&gt;

&lt;h3&gt;Examples&lt;/h3&gt;&lt;h4&gt;ConvertFrom-JSON&lt;/h4&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | ConvertFrom-JSON

title
-----
PowerShell
Test
&lt;/pre&gt;&lt;br /&gt;
&lt;h4&gt;The Script&lt;/h4&gt;Place the script in a directory which is in your path
&lt;h4&gt;Managed DLL&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://powershelljson.codeplex.com/Wiki/View.aspx?title=%5breflection.assembly%5d"&gt;&amp;#91;reflection.assembly&amp;#93;&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;
&lt;h4&gt;The SnapIn &lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt;&lt;br /&gt;
&lt;h4&gt;Performance&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;The PowerShell script is the slowest but easiest to modify.&lt;/li&gt;
&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Thu, 13 Aug 2009 00:31:29 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090813123129A</guid></item><item><title>Updated Wiki: Home</title><link>http://powershelljson.codeplex.com/Wiki/View.aspx?title=Home&amp;version=22</link><description>&lt;div class="wikidoc"&gt;&lt;h3&gt;Project Description&lt;/h3&gt;PowerShell objects from JSON data. A script, dll and snapin for deserializing JSON data into PowerShell objects.&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.
&lt;ol&gt;&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;
&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;&lt;/ol&gt;

&lt;h4&gt;The Script&lt;/h4&gt;Place the script in a directory which is in your path
&lt;h4&gt;Managed DLL&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://powershelljson.codeplex.com/Wiki/View.aspx?title=%5breflection.assembly%5d"&gt;&amp;#91;reflection.assembly&amp;#93;&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;
&lt;h4&gt;The SnapIn &lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt;&lt;br /&gt;
&lt;h4&gt;Performance&lt;/h4&gt;&lt;ul&gt;&lt;li&gt;The PowerShell script is the slowest but easiest to modify.&lt;/li&gt;
&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;&lt;/ul&gt;

&lt;h3&gt;Examples&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON

title
-----
PowerShell
Test
&lt;/pre&gt;&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>dfinke</author><pubDate>Thu, 13 Aug 2009 00:29:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090813122953A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=21</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt; &lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Performance
&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify.&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:34:08 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620123408A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=20</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt; &lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt; &lt;br /&gt;&lt;h4&gt;
Performance
&lt;/h4&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:33:45 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620123345A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=19</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt; &lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:32:09 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620123209A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=18</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
The differences
&lt;/h3&gt;How the Convert-FromJSON is invoked.&lt;br /&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt; &lt;br /&gt;This can be simplfied by using the &lt;a href="http://blogs.msdn.com/scshell/archive/2007/01/03/have-your-powershell-and-our-cmdlets-too.aspx" class="externalLink"&gt;Export-Console Cmdlet&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Export-Console ConvertFromJSON
&lt;/pre&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:31:37 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620123137A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
The differences
&lt;/h3&gt;How the Convert-FromJSON is invoked.&lt;br /&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt;The snapin needs to be registered. This is only required once.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe $pwd\bin\Debug\PowerShellJSONParser.dll
&lt;/pre&gt; &lt;br /&gt;&lt;b&gt;But&lt;/b&gt; the snapin must be added each session.&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
Add-PSSnapin ConvertFromJSONSnapIn
&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:25:55 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620122555A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=16</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
The differences
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;
&lt;/ul&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:22:27 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620122227A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=15</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;
&lt;/ul&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;h4&gt;
The SnapIn 
&lt;/h4&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:21:47 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620122147A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=14</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;
&lt;/ul&gt;&lt;h4&gt;
The Script
&lt;/h4&gt;Place the script in a directory which is in your path&lt;br /&gt;&lt;h4&gt;
Managed DLL
&lt;/h4&gt;The managed code stand alone version needs to load the dll with &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom(&amp;quot;&amp;quot;) for each session&lt;br /&gt; &lt;br /&gt;&lt;pre&gt;
[void] [reflection.assembly]::loadfrom(&amp;quot;$pwd\bin\debug\PowerShellJSONParser.dll&amp;quot;)
&lt;/pre&gt;&lt;ul&gt;
&lt;ul&gt;
&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:21:06 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620122106A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=13</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
PS C:\&amp;gt; '[{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;},{&amp;quot;title&amp;quot;:&amp;quot;Test&amp;quot;}]' | Convert-FromJSON | Invoke-Expression
 
title
-----
PowerShell
Test
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Wed, 20 Jun 2007 00:18:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070620121825A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=12</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON
 
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON | Invoke-Expression
&lt;/pre&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Tue, 19 Jun 2007 02:02:05 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070619020205A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=11</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON
 
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON | Invoke-Expression
&lt;/pre&gt; &lt;br /&gt;- Upload the initial source code for your project&lt;br /&gt; &lt;br /&gt;Additional information on starting a new project is available here: &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=CodePlex&amp;amp;title=CodePlex%20Project%20Startup%20Guide" class="externalLink"&gt;Project Startup Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Mon, 18 Jun 2007 00:08:09 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070618120809A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt; &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON
 
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON | Invoke-Expression
&lt;/pre&gt; &lt;br /&gt;- Upload the initial source code for your project&lt;br /&gt;- Add your project license&lt;br /&gt; &lt;br /&gt;Additional information on starting a new project is available here: &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=CodePlex&amp;amp;title=CodePlex%20Project%20Startup%20Guide" class="externalLink"&gt;Project Startup Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Mon, 18 Jun 2007 00:07:25 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070618120725A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ol&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=%5breflection.assembly%5d&amp;amp;referringTitle=Home"&gt;[reflection.assembly]&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON
 
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON | Invoke-Expression
&lt;/pre&gt; &lt;br /&gt;- Upload the initial source code for your project&lt;br /&gt;- Add your project license&lt;br /&gt; &lt;br /&gt;Additional information on starting a new project is available here: &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=CodePlex&amp;amp;title=CodePlex%20Project%20Startup%20Guide" class="externalLink"&gt;Project Startup Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Mon, 18 Jun 2007 00:06:34 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070618120634A</guid></item><item><title>UPDATED WIKI: Home</title><link>http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;h3&gt;
Project Description
&lt;/h3&gt;
&lt;br /&gt;This project contains three approaches to &lt;i&gt;deserializing&lt;/i&gt; &lt;a href="http://www.json.org/" class="externalLink"&gt;JSON&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt; formatted data into &lt;a href="http://msdn2.microsoft.com/en-us/library/system.management.automation.psobject.aspx" class="externalLink"&gt;PowerShell Objects&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;A &lt;a href="http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx" class="externalLink"&gt;PowerShell script&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;The PowerShell script converted to C# and compiled as a managed DLL&lt;/li&gt;&lt;li&gt;The managed DLL implemented as a PowerShell SnapIn&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h3&gt;
Examples
&lt;/h3&gt;The examples are the same for each implementation. &lt;br /&gt;The differences are:&lt;br /&gt;&lt;ul&gt;
&lt;li&gt;How the Convert-FromJSON is invoked.&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Place the script in a directory which is in your path&lt;/li&gt;&lt;li&gt;The managed code stand alone version needs the &lt;a href="http://www.codeplex.com/PowerShellJSON/Wiki/View.aspx?title=reflection.assembly&amp;amp;referringTitle=Home"&gt;reflection.assembly&lt;/a&gt;::LoadFrom each session&lt;/li&gt;&lt;li&gt;The SnapIn needs to either &lt;/li&gt;&lt;ul&gt;
&lt;li&gt;To be installed and a console file provided&lt;/li&gt;&lt;li&gt;Added per session&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;li&gt;Performance&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;The PowerShell script is the slowest but easiest to modify&lt;/li&gt;&lt;li&gt;The managed code requires re-compiliation. &lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;&lt;pre&gt;
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON
 
'{&amp;quot;title&amp;quot;:&amp;quot;PowerShell&amp;quot;}' | Convert-FromJSON | Invoke-Expression
&lt;/pre&gt; &lt;br /&gt;- Upload the initial source code for your project&lt;br /&gt;- Add your project license&lt;br /&gt; &lt;br /&gt;Additional information on starting a new project is available here: &lt;a href="http://www.codeplex.com/Wiki/View.aspx?ProjectName=CodePlex&amp;amp;title=CodePlex%20Project%20Startup%20Guide" class="externalLink"&gt;Project Startup Guide&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;/div&gt;</description><author>dfinke</author><pubDate>Mon, 18 Jun 2007 00:05:37 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20070618120537A</guid></item></channel></rss>