title: How to collect JSON object of values from checkboxes, using Jquery?
body: <p>I'm trying to create some kind of small contact table for users, where they can select when is more comfortable to contact them. I have 7 days and 3 conditions - Morning/Afternoon/Evening.</p>
  
  <p>I'm trying to collect this kind of object, to send it to the server -</p>
  
  <pre><code>{"SUNDAY":["MORNING"],"MONDAY":["EVENING","MORNING"]}
  </code></pre>
  
  <p>I have the following HTML structure: </p>
  
  <pre><code>&lt;tr&gt;
  &lt;td class="table-headline"&gt;Morning&lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning1" name="morning" type="checkbox" value="SUNDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning2" name="morning" type="checkbox" value="MONDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning3" name="morning" type="checkbox" value="TUESDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning4" name="morning" type="checkbox" value="WEDNESDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning5" name="morning" type="checkbox" value="THURSDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning6" name="morning" type="checkbox" value="FRIDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  &lt;td&gt;                                
      &lt;label class="label-check"&gt;
          &lt;input id="morning7" name="morning" type="checkbox" value="SATURDAY"&gt;
  &lt;/label&gt;   
  &lt;/td&gt;
  </code></pre>
  
  <p></p>
  
  <p>I have three similar lines for each condition. It is not a problem, to detect, if checkbox checked or not, i don't know how to collect in JSON this data after checking.  </p>