3 final class AphrontJSONHTTPParameterType
4 extends AphrontHTTPParameterType
{
6 protected function getParameterDefault() {
10 protected function getParameterValue(AphrontRequest
$request, $key) {
11 $str = $request->getStr($key);
12 return phutil_json_decode($str);
15 protected function getParameterTypeName() {
16 return 'string (json object)';
19 protected function getParameterFormatDescriptions() {
21 pht('A JSON-encoded object.'),
25 protected function getParameterExamples() {