For a few months now I've been tracking my expense with an app called "Toshl" which is useful for budgeting and stuff. The app has an API which allows query of entries and stuff so I had a big workbook that tracked all my expenses and budgets, graphed all the trends and told me where I was overspending. Well last month it broke due to the antivirus my company uses on our machines. After digging around a bunch I found that the JSON parser that I had downloaded from git was doing some low level memcopy type stuff that I'm guessing the antivirus didn't like. So I decided to write my own JSON parser.
It doesn't adhere to the standard 100% but you feed it a string and it'll "mostly" parse it into nested vba objects. It works for me, so I thought I'd share if anyone else wants it.
Have fun!
It doesn't adhere to the standard 100% but you feed it a string and it'll "mostly" parse it into nested vba objects. It works for me, so I thought I'd share if anyone else wants it.
Have fun!
parsejson.bas |