Merge pull request #40 from RobertLarsen/master
Fixed JSON format issue
This commit is contained in:
commit
61228e7c23
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@
|
|||
if (!i.match(/^[a-z0-9]+$/i)) {
|
||||
throw new sjcl.exception.invalid("json encode: invalid property name");
|
||||
}
|
||||
out += comma + i + ':';
|
||||
out += comma + '"' + i + '"' + ':';
|
||||
comma = ',';
|
||||
|
||||
switch (typeof obj[i]) {
|
||||
|
|
Loading…
Reference in a new issue