Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 315 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 315 Bytes

flattenjson

flattenJson.js -> Flattens a json from A to B

unflattenJson.js -> Unflattens a json from B to A

A = [{ "this": "example", "is": "example" },{ "an":"example", "example":"example" }] B = [{"0.this":"example","0.is":"example","1.an":"example","1.example":"example"}]