title: To publish json data in dropdown Laravel
body: <p>This is my json data</p>
  
  <pre><code>  {
    "JohnDoe":{
       "fullName":{
          "en":"Mr John Doe"
       },
       "description":{
          "en":"Lorem Ipsum."
       },
       "identifier":"com.john.doe"
    },
    "JaneDoe":{
       "fullName":{
          "en":"Ms Jane Doe"
       },
       "description":{
          "en":"Lorem Ipsum."
       },
       "identifier":"com.jane.doe"
    }
  }
  </code></pre>
  
  <p>I want to display name as text and identifier as value in dropdown.</p>
  
  <p>Here is the code i tried in blade file:</p>
  
  <pre><code>&lt;select name="name"&gt;
      @foreach ($data as $key =&gt; $node)
          @foreach ($node as $index =&gt; $value)
  
            {!! dd($value) !!}
          @endforeach
      @endforeach
     &lt;/select&gt;
  </code></pre>
  
  <p>This is my controller </p>
  
  <pre><code>return view('people.index', ['data' =&gt; json_decode($data, true)]);
  </code></pre>