Comparing version
@@ -42,3 +42,3 @@ import { u128, u128Safe, u256, u256Safe, i128, i128Safe } from "as-bignum/assembly"; | ||
// String | ||
if (isString<T>()) { | ||
if (isString<T>() && data != null) { | ||
let result = new StringSink("\""); | ||
@@ -45,0 +45,0 @@ // @ts-ignore |
{ | ||
"name": "json-as", | ||
"version": "0.5.24", | ||
"version": "0.5.25", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "types": "assembly/index.ts", |
{ | ||
"name": "@json-as/transform", | ||
"version": "0.5.24", | ||
"version": "0.5.25", | ||
"description": "JSON encoder/decoder for AssemblyScript", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
65377
0.02%23
-4.17%