Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Xstatic122y@NickyBones sorry didn't see the yeah until I posted. They're is a cpp wrapper around the c janson library though
-
Xstatic122yFor FUCK sake I posted a second image but devRant isn't showing it. Here it is:
Have you tried janson library? It's a cpp wrapper for a c library -
@RocketSurgeon I'm actually using nlohmann for something else in my code :) Yeah, I could try it for the other parts too :)
-
Idk if class serialization is possible in generic c++, is it? I thought that was sort of a reflection dependent task.
I think I remember using nlohmann the one time I tried this btw -
C is a hard language, but it’s a beautiful beast in my opinion.
Though I didn’t really mess around with JSON in C … yet. -
I think nlohmann is the goto library for that
Another one would be jansson, but I think (not 100% sure) that one was pure C and doesn't do full on serialization for your classes. -
@AlgoRythm Yeah, I'll have to do that shit manually, but I don't have lots of classes to handle
-
@LotsOfCaffeine I'll go with nlohmann.
I have such a huge refactoring coming up, I just want to quit this shit and be a catsitter. -
@NickyBones Hey, I found something that might really pique your interest... can you give me a throwaway email address so I can talk about it with you? It's not a thing that I can talk openly about in dR but I *KNOW* it's something that you will want to get your hands on and reverse-engineer or whatever since you're strong in CUDA.
Related Rants
-
xjose97x18Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
-
makwayne7So this happened in my computer science class Creepy guy trying to be cheesy (to this pretty girl): "you're ...
JSON de/serializer for C++, recommendations?
I used boost serialization until now, and it's fine.
But I will need to send some stuff over REST protocol to my future-web-GUI.
I would like something that is easy to build, not bloated, and could handle class serialization.
Shoot!
rant
class
c++
json
serializer