symisc / unqlite

An Embedded NoSQL, Transactional Database Engine
https://unqlite.symisc.net
Other
2.11k stars 164 forks source link

C API JSON Object issue (wrong code) #12

Closed necrophcodr closed 9 years ago

necrophcodr commented 9 years ago

The following code produces the error:

1 Error: JSON Object: Missing closing braces '}

function main() {
    print "Hello, world\n";
    die;
}
main();

Seems a strange issue, given that it isn't a JSON object.

necrophcodr commented 9 years ago

I created a gist with the C code that produces this error: https://gist.github.com/necrophcodr/cbbefc28a0d272e2f4c8