public static function createFromJSON($json_obj)
    {
        $source_class = get_called_class();
        $result = new $source_class();

        foreach ($json_obj as $k => $v) {
            if (!empty($v)) {
                $result->$k = $v;
            }
        }
        return $result;
    }