25.09.2016, 06:51, "Thiago Macieira" <thiago.macie...@intel.com>: > On domingo, 25 de setembro de 2016 01:38:12 PDT Konstantin Tokarev wrote: >> Hopefully there are lots of JSON-like (as well as non-JSON-like) binary >> formats that have already been implemented for C++ > > Like I said in the other email, CBOR. > > https://github.com/01org/tinycbor > > This library compiles to 1k of code for the encoder and 2k of code for the > decoder. If you don't want to, there's no malloc() at all.
FWIW, CBOR is schema-free format while QDataStream has fixed schema, so it's more direct counterparts are formats like protobuf or capnproto > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel Open Source Technology Center > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest