UNPKG
@fink/std-lib
Version:
latest (8.6.0)
8.6.0
8.5.0
8.4.0
8.3.0
8.2.0
8.1.1
8.1.0
8.0.1
8.0.0
7.0.1
7.0.0
6.1.0
6.0.0
5.0.0
4.0.1
4.0.0
3.2.0
3.1.1
3.1.0
3.0.0
2.4.0
2.3.1
2.3.0
2.2.0
2.1.0
2.0.0
1.1.0
1.0.0
fink standard lib
github.com/fink-lang/std-lib
fink-lang/std-lib
@fink/std-lib
/
cjs
/
json.js
8 lines
(7 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
const
{
JSON
} =
require
(
"@fink/js-interop/globals.js"
);
const
json_to_obj =
JSON
.
parse
;
exports
.
json_to_obj
= json_to_obj;
const
obj_to_json =
JSON
.
stringify
;
exports
.
obj_to_json
= obj_to_json;