If you require that the resulting JSON object be wrapped in a JavaScript method callback (often called "JSONP" format), you can specify an additional URL parameter "_jsonp" with the name of the callback function you wish to be invoked on the front end.
Example URL:
http://.../?_jsonp=myCallback
The resulting JSON data will be wrapped thusly:
myCallback( {
"SampleProjectList": [
{
"Attribute1": "value",
"Attribute2": "value"
},
{
"Attribute1": "value",
"Attribute2": "value"
}
]
} );