diff options
Diffstat (limited to 'jsonrpc/json.esp')
-rw-r--r-- | jsonrpc/json.esp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jsonrpc/json.esp b/jsonrpc/json.esp index 32f0fa776a..8234ad7be3 100644 --- a/jsonrpc/json.esp +++ b/jsonrpc/json.esp @@ -112,6 +112,10 @@ function _encode(o) } buf = buf + "]"; } + else if (o["__type"] == "_JSON_Date") + { + buf = "" + o.encoding(); + } else { /* No length field, so it must be an ordinary object */ |