ãã¾ã使ããã¦ããªãã®ãæ å ±ã¯å°ãªãã£ãã SpiderMonkeyã使ç¨ãã¦JSONå½¢å¼ãèªã¿è¾¼ãæ¹æ³ã®èª¿ã¹ãã¤ããã æååãæ°åãé åããªãã¸ã§ã¯ããNULL, BOOLEAN ã¨æ®éã«ä½¿ã種é¡ã®ã¯OKã ãªãã¸ã§ã¯ãã¨é åã®ãã¹ããåé¡ãªãã æ¨æºå ¥åããJSONãèªã¿è¾¼ããµã³ãã« #include <iostream> #include <string> #include <sstream> #include <js/jsapi.h> JSRuntime *pRuntime; JSContext *pContext; JSObject *pGlobal; void js_print(jsval jsVal, int indentLevel) { // indent std::cout << std::string(indentLevel*2, ' '); if(JSVAL_IS_
{{#tags}}- {{label}}
{{/tags}}