mirror of
https://github.com/fluencelabs/assemblyscript-json
synced 2025-07-30 21:42:09 +00:00
Parse null
This commit is contained in:
@@ -124,6 +124,10 @@ export class StringConversionTests {
|
||||
return this.roundripTest('{"val":false}');
|
||||
}
|
||||
|
||||
static shouldHandleNull(): bool {
|
||||
return this.roundripTest('{"val":null}');
|
||||
}
|
||||
|
||||
static shouldHandleString(): bool {
|
||||
return this.roundripTest('{"str":"foo"}');
|
||||
}
|
||||
|
Reference in New Issue
Block a user