odata-v4-parser
odata-v4-parser copied to clipboard
Parsing Stringified ints
Hello, I need to parse stringified Ids as a key.
"1234 eq 'foo'"
the 1234 here is being parsed as a number. When evaluating an expression against something like this: { '1234': 'foo' }
can anyone think of a workaround here?
the Docs here don't specifically prohibit using stringified numbers http://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#sec_Entity