Pull all articles from my Drupal Site as JSON I am trying to pull all articles from my site in form of JSON.

I know it can be done by either Services, RESTful Web Services or Views Datasource but I don't know how to do it. I am a complete n00b in Drupal.

Could you specify me, with an example hopefully, that how can I pull all articles in a JSON and show that JSON through a URL?

Many Many Thanks.
Judging by its description Views Datasource might be the way to go, but it seems to be still not ready for production. There is no even beta version as far as I can tell. But your task can be easily achieved by creating your own custom module.

Create your own module (you can read more about this process here).

And in your module do the following:

//Your implementation of hook_menu, create url endpoints here
function YOURMODULENAME_menu() {
    $items = array();
    $items['path/where/i/want/your/json/to/be'] = array(
        'title' =&gt; t('list of articles'), // can actually be arbitrary text here
        'type' =&gt; MENU_NORMAL_ITEM,
        'page callback' =&gt; 'your_function_name',
        'access callback' =&gt; TRUE,
    );
    return $items;
}

//Page callback function that renders the json endpoint
function your_function_name() {
    $query = "SELECT * FROM {node} n WHERE n.type = :type";
    $result = db_query($query, array(':type' =&gt; 'article'));
    $json_data = array();
    foreach ($result as $record) {
        $node = node_load($record-&gt;nid);
        $json_data[] = array('nid' =&gt; $node-&gt;nid, 'title' =&gt; $node-&gt;title, 'body' -&gt; $node-&gt;body['und'][0]['value']);
    }
    print drupal_json_encode($json_data);
    exit;
}


I didn't test this code and you might have more fields in article datatype, but I think you should get the idea how this can be done. Just query the database for the list of nodes of specific type, compose an array of data and output json.