Post AcYozG9nCub09aPWRU by antnisp@mastodon.social
 (DIR) More posts by antnisp@mastodon.social
 (DIR) Post #AcYcx483kzwyovmsgi by mjg59@nondeterministic.computer
       2023-12-07T06:17:25Z
       
       0 likes, 0 repeats
       
       Thought I was going to have to handle JSON in C++ and then realised that I can actually pre-process it somewhere else in a sensible language and phew that makes everything much easier
       
 (DIR) Post #AcYeSm6WPMv88dkgvA by hzeller@mastodon.social
       2023-12-07T06:34:34Z
       
       0 likes, 0 repeats
       
       @mjg59 if you have to deal with json in C++, I found the nlohmann library a joy to use.
       
 (DIR) Post #AcYecxKVWi2Lqk9GpE by colin_mcmillen@piaille.fr
       2023-12-07T06:34:51Z
       
       0 likes, 0 repeats
       
       @mjg59 if you HAD to, libjq is not so awful to work with.
       
 (DIR) Post #AcYkEKUQsdsuAHQnse by antnisp@mastodon.social
       2023-12-07T07:39:10Z
       
       0 likes, 0 repeats
       
       @mjg59 Qt has an acceptable interface, so it's doable.
       
 (DIR) Post #AcYl6EZd5nndSBZ8y0 by mjg59@nondeterministic.computer
       2023-12-07T07:49:00Z
       
       0 likes, 0 repeats
       
       @antnisp Not really if I'm targeting an ESP32
       
 (DIR) Post #AcYozG9nCub09aPWRU by antnisp@mastodon.social
       2023-12-07T08:32:06Z
       
       0 likes, 0 repeats
       
       @mjg59 Oh. Sorry. 😅
       
 (DIR) Post #AcYspZtNNR6YHYN3HE by ljrk@todon.eu
       2023-12-07T09:15:42Z
       
       0 likes, 0 repeats
       
       @mjg59 Just use C++ boost with it's built-in BNF-in-C++-through-operator-overloading lib!Truly one of the most cursed things I've seen.
       
 (DIR) Post #AcZLL7hoVT7yqXnDsm by jawnsy@mastodon.social
       2023-12-07T14:35:05Z
       
       0 likes, 0 repeats
       
       @mjg59 The sensible language is preprocessor macros, right??