UNPKG
dotize
Version:
latest (0.6.0)
0.6.0
0.5.1
0.5.0
0.3.1
0.3.0
0.2.0
0.1.28
0.1.27
0.1.26
Convert complex Js object to dot notation Js object
github.com/vardars/dotize
vardars/dotize
dotize
/
test
/
test-single.js
9 lines
(7 loc)
•
190 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
dotize =
require
(
"../src/dotize"
);
var
result = dotize.
backward
({
"[0].null"
:
null
,
"[1].array[0]"
: {},
"[1].array[1]"
: [], });
console
.
log
(
JSON
.
stringify
(result));