-
Notifications
You must be signed in to change notification settings - Fork 8
Examples
cafebabe1991 edited this page Mar 3, 2017
·
4 revisions
This field will be dumped to the root of the json since we have not specified the group to dump this
<input type="text" name="first_name" placeholder="First Name" value="cafebabe">
This field will be dumped to the root of the json since we have not specified the group to dump this
<select name="cars">
<option>Lamborghini</option>
<option>Porsche</option>
<option>Maybach</option>
</select>
This field will be dumped as a boolean variable in the json root since no group has been specified.
<input type="checkbox" name="isChecked">
This field will be dumped as a boolean variable in the json inside the 'foo.bar' property inside the root of json.
<input type="checkbox" name="isChecked" group="foo.bar">