Skip to content

@JSON cant have negative number #475

@mathiasrw

Description

@mathiasrw

When having minus in front of a (number) value the parser cannot handle the JSON

> alasql "SELECT * FROM @[{delay:5},{delay:-7}]" [Error: Parse error on line 1: ...M @[{delay:5},{delay:-7}] -----------------------^ Expecting 'COLON', got 'COLONDASH']

Workaound in the moment: put ' around the negative numbers ('-7')

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions