This pull request, once complete, will allow users who embed this library in their application to export return values (and any other objects) to JSON-strings.
We do this by declaring a new interface JSONAble which contains a JSON method.
If an object implements JSONAble you can call JSON upon it.
This pull request, once complete, will allow users who embed this library in their application to export return values (and any other objects) to JSON-strings.
We do this by declaring a new interface
JSONAble
which contains aJSON
method.JSONAble
you can callJSON
upon it.This closes #173.