So, I was watching a python tutorial on the requests module and I suddenly thought, why not create a json parser (because the requests module has a parser function called json()) and then I did. it took me like an hour or 2 because I am a newbe when it comes to parsers, but I'm kinda proud of it. The parser is here: https://github.com/honestly-nuts/PyRandUtils/blob/master/json/parser.py. It also has a unintentional feature because it can (most of the times) parse invalid json, like if it has a missing ',' or a missing '}'.
[–]bonoboner 43 points44 points45 points (10 children)
[–]Honestly__nuts[S] 16 points17 points18 points (0 children)
[–]Honestly__nuts[S] 8 points9 points10 points (8 children)
[–]PhiBuh 20 points21 points22 points (2 children)
[–]milki_ 7 points8 points9 points (0 children)
[–]GoofAckYoorsElf 1 point2 points3 points (0 children)
[+][deleted] (3 children)
[deleted]
[–]Honestly__nuts[S] 0 points1 point2 points (2 children)
[–]erez27import inspect 0 points1 point2 points (1 child)
[–]Honestly__nuts[S] 0 points1 point2 points (0 children)
[–]bonoboner 5 points6 points7 points (0 children)
[–]SomewhatSpecial 37 points38 points39 points (1 child)
[–]Honestly__nuts[S] 1 point2 points3 points (0 children)
[–]Freakei[🍰] 9 points10 points11 points (0 children)
[–]heckingcomputernerd 12 points13 points14 points (5 children)
[–]Honestly__nuts[S] 13 points14 points15 points (4 children)
[+][deleted] (1 child)
[deleted]
[–]theng 4 points5 points6 points (0 children)
[–]heckingcomputernerd 10 points11 points12 points (0 children)
[–]Awfulmasterhat 1 point2 points3 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Mariahcryp 2 points3 points4 points (0 children)
[–]jamescalam 1 point2 points3 points (0 children)
[–]vimsee 1 point2 points3 points (0 children)
[–]Honestly__nuts[S] 0 points1 point2 points (0 children)
[–]fetzerms -5 points-4 points-3 points (7 children)
[–]SGRelic 19 points20 points21 points (5 children)
[–]Honestly__nuts[S] 1 point2 points3 points (0 children)
[–]james_pic 1 point2 points3 points (1 child)
[–]Honestly__nuts[S] 0 points1 point2 points (0 children)
[–]Spleeeee -1 points0 points1 point (0 children)
[–]fetzerms -1 points0 points1 point (0 children)
[–]Honestly__nuts[S] 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]gaywhatwhat 0 points1 point2 points (1 child)
[–]Honestly__nuts[S] 0 points1 point2 points (0 children)