parent
cf97d6dd55
commit
5f93ea16e8
@ -0,0 +1,10 @@ |
|||||||
|
|
||||||
|
var soljson = require('./bin/soljson-latest.js'); |
||||||
|
|
||||||
|
compileJSON = soljson.cwrap("compileJSON", "string", ["string", "number"]); |
||||||
|
|
||||||
|
module.exports = { |
||||||
|
compile: function(input, optimise){ |
||||||
|
return JSON.parse( compileJSON(input, optimise) ); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue