beached

u/beached


r/cpp•

Version two marks the culmination of some nice changes in JSON Link

  • Non-intrusive mapping of your C++ structures to JSON classes and parsing without an intermediary DOM type. Because we can specify the types, we can do extra type based checks on the input data too.

  • A new lazy parsing DOM for exploring data. This can be specified in the mappings above as a member type too. The interface, also, allows iteration over array and class types.

  • A new event based(SAX) parser

  • Constexpr

  • Helper support for mapping to types like variant's and JSON array's to C++ classes, the cookbook section of the project has lots of documentation on mapping your JSON to C++

  • Lots of documents with

204

r/cpp•

JSON Link allows C++ developers to easily construct classes directly from JSON(even weird stuff).

Some highlights

  • Can be stricter in ways that matter(type checking), but is not a strict parser(some invalid Unicode codepoints can slip through).
  • Has optional support for comments via #
  • Supports trailing commas.
  • Does not allocate. The data types are constructed directly(the values themselves may allocate), and as a side affect supports constructing types that cannot be copied or moved.

https://github.com/beached/daw_json_link

64



r/diabetes•

So I like to run and I pump. But my sweat seems to be eluding the adhesive on my sites.

  • I have shaved the site area

  • Used skin tack, and waited for it to get really tacky

  • Put tegaderm over it, but I think that made it worse.

  • Water resistive adhesive tape doesn't seem to work either.

Any ideas on how to keep them in while I am running some nice trails? Happens on roads too. I am thinking winter might help, but usually that involves more clothing.

411

You've reached the end of this feed.