Converting string array to Name/Value object in javascript
<p>I currently am dealing with a Web Service that is returning an array of strings to the client.  From here I would like to take this array of strings and convert it into an object that gives each string a name so to reference it later.</p>

<p>So start with this:</p>

<pre><code>var result = ["test", "hello", "goodbye"];
</code></pre>

<p>And I would like to end up with this:</p>

<pre><code>var final = [{'value': "test"}, {'value': "hello"}, {'value': "goodbye"}];
</code></pre>

<p>I use jquery.  Is there a easy to accomplish this?</p>
