title: How to pass a complex JSON attribute to a polymer component?
body: <p>I am having no success in passing a "complex" JSON object to a component, from the main body of the app.</p>
  
  <p>Passing an array, or a simple JSON object works as expected, this 3 followings forms work:</p>
  
  <pre><code>&lt;x-name fullname='{ "first": "Bob", "last": "Dobbs" }'&gt;&lt;/x-name&gt; 
  &lt;x-name fullname='["Bob", "Dobbs"]'&gt;&lt;/x-name&gt; 
  &lt;x-name fullname='[{ "first": "Bob" }, { "last": "Dobbs" }]'&gt;&lt;/x-name&gt; 
  </code></pre>
  
  <p>However, if the object is a bit more complicated, like, say, embedding an array:</p>
  
  <pre><code> &lt;x-name fullname=
       '[ 
           { "first": "Bob",  "several": ["Bob", "Dobbs"] }, 
           { "last": "Dobbs", "many":    ["Bob", "Dobbs"] }
        ]'&gt;
   &lt;/x-name&gt;
  </code></pre>
  
  <p>What is the syntax to use? is it even possible?</p>
  
  <p>For the first 2 forms to work, a hint as to be given (in the <code>created</code> function()), so that the component knows what format is expected. The third form works with an empty array hint. In the last form, how to give that hint?</p>
  
  <p>Thanks guys.
  F.</p>