!14790 ASON stringify sdk 回退

Merge pull request !14790 from xusen/ason_20241119
This commit is contained in:
openharmony_ci 2024-11-20 08:35:31 +00:00 committed by Gitee
commit 9a3fde89d2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -393,18 +393,7 @@ declare namespace utils {
* @atomicservice
* @since 12
*/
/**
* 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;
function stringify(value: ISendable | null | undefined): string;
/**
* Enum defining modes for handling bigint.