JSON替代λJSON.zip
λJSON 是 JSON 的嵌入式替代品,它可以让你解析和字符串化纯函数及其内容。示例代码:var LJSON = require("LJSON");// `newPlayer` is a function and couldn't be serialized with JSON.function newPlayer(name){ return { name : name, hp : 12, atk : 5, def : 5, inventory :
下载地址
用户评论