public function postJson(string $url, $data, array $args = []): \StdClass
    {
        return $this->submitJson($url, $data, array_merge($args, ['method' => 'POST']));
    }
public function postJson(string $url, $data, array $args = []): \StdClass
    {
        return $this->submitJson($url, $data, array_merge($args, ['method' => 'POST']));
    }
public function postJson ( string $ url , $ data , array $ args = [ ] ) : \ StdClass { return $ this -> submitJson ( $ url , $ data , array_merge ( $ args , [ 'method' => 'POST' ] ) ) ; }
POST JSON data.

@since 170124.74961 Initial release.

@param string $url  API URL.
@param mixed  $data Data to POST.
@param array  $args Additional args.

@return \StdClass Including a boolean `success` property.
POST JSON data .