Lines Matching refs:jsonObject
1713 JSHandle<JSObject> jsonObject = factory_->NewJSObjectWithInit(jsonHClass);
1715 SetFunction(env, jsonObject, "parse", Json::Parse, FunctionLength::TWO);
1716 SetFunction(env, jsonObject, "parseSendable", SendableJson::Parse, FunctionLength::THREE);
1717 SetFunction(env, jsonObject, "parseBigInt", BigIntJson::Parse, FunctionLength::THREE);
1718 SetFunction(env, jsonObject, "stringify", Json::Stringify, FunctionLength::THREE, BUILTINS_STUB_ID(JsonStringify));
1719 SetFunction(env, jsonObject, "stringifySendable", SendableJson::Stringify, FunctionLength::THREE);
1720 SetFunction(env, jsonObject, "stringifyBigInt", BigIntJson::Stringify, FunctionLength::THREE);
1722 PropertyDescriptor jsonDesc(thread_, JSHandle<JSTaggedValue>::Cast(jsonObject), true, false, true);
1727 SetStringTagSymbol(env, jsonObject, "JSON");
1728 env->SetJsonFunction(thread_, jsonObject);