var _hocon = require("topsin.hocon"); var str = 'a: "设置&bar"'; var r = _hocon.parseString(str); print(JSON.stringify(r));