0.4.6 • Published 10 years ago
json-heal v0.4.6
json-heal
Heal a cut off json string to make it parseable again.
Example
var heal = require('json-heal');
heal('{"foo')
// => '{"foo...":"..."}'
heal('{"foo":{"bar":')
// => '{"foo":{"bar":"..."}}'
License
MIT