Closed samir86TIIR closed 2 years ago
Hey there Samir! Check out the Path spec type: https://glom.readthedocs.io/en/latest/api.html#glom.Path
Hi Mahmoud, It's working great, thank you for your reactivity, I'm a beginner glom user, and I will read more deeply glom functions :)
Hello,
It's not possible to use dot [.] on a value key with glom, For exemple:
target = { 'galaxy': { 'solar.system': { 'planet' : 'jupiter' } } } spec = 'galaxy.solar.system.planet' glom(target, spec)
We have this error, because the value 'solar.system' isn't recognize :
Any help will be greatly appreciated because it's very painful to modify a JSON file with a lot dotted keys.