working on form builder.
refactoring the form builder.
Merge branch 'master' into forms
Make Input::json() more logical

Now you can send JSON payloads as an actual body in a PUT or POST request, instead of only decoding a specific POST param, or whatever it was doing before.




Also, if a non-JSON mime-type is sent it will refuse to try and parse the data, instead only returning the default value. This to me seems like a much more logical usage of Input::json() than the initial implementation.
Cache JSON to avoid re-parsing on every usage.
ACTUALLY do some caching this time.
fixed namespaced-controller routing bug
working on form builder.
Using array_set() in Session::flash() for consistency.

Signed-off-by: Ben Corlett <bencorlett@me.com>
added dedicated test for namespaced controller
Use mb_strlen() instead of static method call. Closes #409.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Removed caching for Input::json().
Merge branch 'master' of github.com:laravel/framework into patch-1
Fixed unit tests for JSON change.:
Added mime checking to Input::josn() tests.
Bump.
Updated return docblock for Input::json().
Merge pull request #393 from philsturgeon/patch-1

Make Input::json() more logical
Merge pull request #417 from bencorlett/feature/session-missing-dot-notation

Using array_set() in Session::flash() for consistency.
Merge pull request #426 from jasonlewis/fix/str-calls-str-length

Use mb_strlen() instead of static method call. Closes #409.