mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 07:10:52 +00:00
!14790 ASON stringify sdk 回退
Merge pull request !14790 from xusen/ason_20241119
This commit is contained in:
commit
9a3fde89d2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user