JavaScript
Result
Run
License
var jsonObj = { "completed" : true, "msg" : "complete" }; var jsonStr = JSON.stringify(jsonObj, function(key, value) { // 타입이 'string'인 경우 JSON 항목에 포함하지 않는다. if (typeof value === "string") return undefined; return value; }); console.log(jsonStr);
Console
expand_less
License
License
by DevDic
Close