evestera / json_typegen

Tools and libraries to create types for Rust, Kotlin, TypeScript and Python from JSON samples
https://typegen.vestera.as
Apache License 2.0
268 stars 26 forks source link

{"TRY": 10} parsing throws "found reserved keyword `try`" #6

Closed sudo-ben closed 5 years ago

sudo-ben commented 5 years ago

{"TRY": 10} parsing throws "found reserved keyword try"

evestera commented 5 years ago

Ah, yes, I have to update the list of Rust keywords with the new ones from Rust 2018(async, await and try). Thank you for the issue/reminder. 👍

Will try to get it fixed in a few days (but going away for the weekend, so monday at the earliest).

evestera commented 5 years ago

Just released a bugfix release (v0.3.1) which should fix the issue. Thanks again for the issue.