Ason stringify rollback

Ason stringify rollback

Issue:  https://gitee.com/openharmony/interface_sdk-js/issues/IB5EBV
Signed-off-by: xusen <xusen15@huawei.com>
This commit is contained in:
xusen 2024-11-19 14:55:30 +08:00
parent 6d90a29890
commit 2c274f1013

View File

@ -393,18 +393,7 @@ declare namespace utils {
* @atomicservice * @atomicservice
* @since 12 * @since 12
*/ */
/** function stringify(value: ISendable | null | undefined): string;
* Converts an ArkTS value to a JavaScript Object Notation (JSON) string.
* Extra supports Map and Set.
*
* @param { Object | null | undefined } value - The value to stringify.
* @returns { string } The JSON string representation of the value.
* @throws { BusinessError } 401 - Parameter error. Invalid ArkTS value.
* @syscap SystemCapability.Utils.Lang
* @atomicservice
* @since 15
*/
function stringify(value: Object | null | undefined): string;
/** /**
* Enum defining modes for handling bigint. * Enum defining modes for handling bigint.