Changeset View
Changeset View
Standalone View
Standalone View
source/scriptinterface/ScriptInterface.h
Context not available. | |||||
/** | /** | ||||
* Stringify to a JSON string, UTF-8 encoded. Returns an empty string on error. | * Stringify to a JSON string, UTF-8 encoded. Returns an empty string on error. | ||||
*/ | */ | ||||
static std::string StringifyJSON(JSContext* cx, JS::MutableHandleValue obj, bool indent = true); | |||||
std::string StringifyJSON(JS::MutableHandleValue obj, bool indent = true) const; | std::string StringifyJSON(JS::MutableHandleValue obj, bool indent = true) const; | ||||
/** | /** | ||||
Context not available. |
Wildfire Games · Phabricator