skx / evalfilter

A bytecode-based virtual machine to implement scripting/filtering support in your golang project.
GNU General Public License v2.0
117 stars 12 forks source link

173 json #174

Closed skx closed 3 years ago

skx commented 3 years ago

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.

This closes #173.