json: number
This commit is contained in:
parent
3ad023ef6a
commit
370bb18c06
1 changed files with 6 additions and 0 deletions
|
@ -209,3 +209,9 @@ string = do
|
||||||
_ <- parseExactChar '"'
|
_ <- parseExactChar '"'
|
||||||
pure $ VString contents
|
pure $ VString contents
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```idris
|
||||||
|
number = do
|
||||||
|
d <- double
|
||||||
|
pure $ VNumber d
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Reference in a new issue