<!DOCTYPE html>
<html lang="en">
 <head>
 </head>
 <body translate="no">
  <div class="container" id="app">
   <h1>
    JSON/PHP Array Converter
   </h1>
   <p>
    The following converts a PHP short tag array or a JSON array into the opposite array type. The script is meant to cut down on JSON array conversion time. Most useful for mapping conversion, etc.
   </p>
   <label for="type_selection">
    Convert From
   </label>
   <select id="type_selection" v-model="selected">
    <option :value="option.value" v-for="option in options">
     {{ option.text }}
    </option>
   </select>
   <span>
    <p>
     Selected: {{ selected }}
    </p>
   </span>
   <label for="convert_src">
    Source
   </label>
   <textarea class="form-control" id="convert_src" placeholder="Enter your source array here" rows="10" v-model="src_array"></textarea>
   <label for="convert_dst">
    Converted
   </label>
   <textarea class="form-control" id="convert_dst" rows="10" v-model="dst_array"></textarea>
  </div>
 </body>
</html>
