Nim offers similar functionality via the `to` macro, but indeed it doesn't 
support fields that begin with a number. I created an issue for this: 
[https://github.com/nim-lang/Nim/issues/7139](https://github.com/nim-lang/Nim/issues/7139).

Depending on your JSON you may be able to use a combination of the approach I 
described above and the `to` macro.

Reply via email to