UNPKG
@clynn-fe/akfe-editor-jsonf
Version:
latest (2.2.6)
2.2.6
2.2.5
JSON methods support function parse and stringify
@clynn-fe/akfe-editor-jsonf
/
README.md
13 lines
(8 loc)
•
306 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
# `@clynn-fe/akfe-editor-jsonf`
可以 parse 和 stringify 函数的 JSONF 对象。__注意: parse 时,函数由
new
Function 创建,请注意相关限制。__
## Usage
```javascript import JSONF
from
'@clynn-fe/akfe-editor-jsonf'
const
str = JSONF.parse(obj)
const
obj = JSONF.stringify(str) ```