UNPKG

dotize

Version:

Convert complex Js object to dot notation Js object

9 lines (7 loc) 190 B
var dotize = require("../src/dotize"); var result = dotize.backward({ "[0].null": null, "[1].array[0]": {}, "[1].array[1]": [], }); console.log(JSON.stringify(result));