(name)
| 180 | |
| 181 | def decode_flat_data(itemiter, dict_cls=dict): |
| 182 | def _split_key(name): |
| 183 | result = name.split(".") |
| 184 | for idx, part in enumerate(result): |
| 185 | if part.isdigit(): |
| 186 | result[idx] = int(part) |
| 187 | return result |
| 188 | |
| 189 | def _enter_container(container, key): |
| 190 | if key not in container: |