Skip to content

Parsing Stringified ints #27

Description

@ztalarick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions