You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems to be unhappy to transform my nested structure containing a list:
➜ json-to-elm git:(master) ✗>python generate.py form.json
Generating type alias, decoders and encoders from form.json
Traceback (most recent call last):
File "generate.py", line 131, in <module>
main()
File "generate.py", line 127, in main
print_everything(f.read(), name)
File "generate.py", line 55, in print_everything
aliases = create_type_alias(stuff, type_alias_name=alias_name)
File "/home/muelli/vcs/json-to-elm/type_alias.py", line 49, in create_type_alias
for name, value in stuff.items():
AttributeError: 'list' object has no attribute 'items'
➜ json-to-elm git:(master) ✗>
it seems to be unhappy to transform my nested structure containing a list:
The structure looks like this:
The text was updated successfully, but these errors were encountered: