Friday, 13-11-2020

Hey Gophers!

This one is going to be a short one. This week was an extremely full week at work,
so I did not have much time to work on my hobby projects. I did some JSON tink-
ering for the Teletekst scraper. I could not get it work at first, no matter what
I did, it was constantly SEGFAULTing. After meticulously tracking down the error
it turned out that you actually have to feed the parser the right syntax ;-)

I was using the .CommaText property to give a StringList to the parser and that
was just plainly wrong. CommaText adds a lot of quotes to the string and that
is breaking the JSON syntax of course. Feeding it the string as in the .Text
property worked a lot better, but it took me the best part of an hour to find
it. My Lazarus/FPC programming is obviously still a bit rusty...

Well, ok, I am making things again and that counts. Looking forward to a nice
and slow weekend. Not much planned, and I like it that way.

Have a nice weekend!

Cheers,

Fripster