aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-06-09 08:40:27 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-12 11:56:57 +0200
commite7dee15531ad357bd33ac546fb1b9332a5c1260c (patch)
treef889b50746fd393d005552cd6c3580449fc78166 /lib/connection.cpp
parent9a65bde0fa438ee4ad101b58721b77182ae1ae70 (diff)
downloadlibquotient-e7dee15531ad357bd33ac546fb1b9332a5c1260c.tar.gz
libquotient-e7dee15531ad357bd33ac546fb1b9332a5c1260c.zip
converters.*: facilities to convert enums
This introduces enumTo/FromJsonString() and flagTo/FromJsonString(), four facility functions to simplify conversion between C++ enums and JSON, and refactors a couple of places where it's useful.
Diffstat (limited to 'lib/connection.cpp')
0 files changed, 0 insertions, 0 deletions