qraftlabs/node-odata-parser — pull request #9 by prantlf (2014-12-27 15:55:16+00:00)
Title: Fix $inlinecount parsing which misplaced the key and skipped the value

This was the output when parsing '$select=Name&$inlinecount=allpages'
{
"0": "$inlinecount=",
"$select": [
"Name"
]
}
While the expected output was
{
"$inlinecount": "allpages",
"$select": [
"Name"
]
}

Allow only 'allpages' and 'none' values according to the specification