utahiosmac / Marshal

Marshaling the typeless wild west of [String: Any]
MIT License
698 stars 63 forks source link

Allow escaping periods in a key path by preceding them with a double backslash #138

Closed JetForMe closed 5 years ago

JetForMe commented 5 years ago

The code first splits on period, as in the original, then it checks to see if any components ends in a backslash, and re-combines them into a key.