Hello, I’m looking for but have not found a package which will flatten (prettified or raw) JSON to a simple dot notation string for each value. JSFiddle does this but of course, I want this in ST. Perhaps my searching has been missing the magic package?
example
this:
{ "components": { "main": { "samsungce.washerDelayEnd": { "remainingTime": { "value": 0, "unit": "min", "timestamp": "2022-08-19T12:22:47.069Z" }, "minimumReservableTime": { "value": 22, "unit": "min", "timestamp": "2022-09-07T23:30:12.529Z" } } } } }
into this:
{ "components.main.samsungce.washerDelayEnd.remainingTime.value": 0, "components.main.samsungce.washerDelayEnd.remainingTime.unit": "min", "components.main.samsungce.washerDelayEnd.remainingTime.timestamp": "2022-08-19T12:22:47.069Z", "components.main.samsungce.washerDelayEnd.minimumReservableTime.value": 22, "components.main.samsungce.washerDelayEnd.minimumReservableTime.unit": "min", "components.main.samsungce.washerDelayEnd.minimumReservableTime.timestamp": "2022-09-07T23:30:12.529Z" }
Thanks