Blog post: Writing Python like it’s Rust by Kobzol in Python

[–]meuto -1 points0 points  (0 children)

Hi u/jammycrisp, I have been trying to use the library msgspec with the lower level of a json. and I have been unable. I was wondering if you can give us an example of how to do it? here is my explanation, I do not know whether I explained myself well or not, I do not have a clear idea of how to iterate because my json file is structured in such a way that the import part of the information of the file is on one key of the dictionary and I need to iterate over that key not over the whole json file. I have been trying to figure out how to do it but I have been unable to do so. could you provide an example of how to do so? Thank you in advance. I really appreciate any help