Skip to main content

ClikaRT::json

namespace

Classes

NameDescription
JsonA JSON value: null, boolean, number, string, array, or object. Copyable (deep) and movable. (A JSON object is the string-keyed map, what Python calls a dict at the boundary.)

ClikaRT/json/json.h

#include <ClikaRT/json/json.h>

A small JSON value for (de)serializing API payloads by hand: parse a request body, read its fields, build a response, and serialize it. This is a focused surface, not a full DOM library: enough to move structured data across the wire, no more.

Every fallible operation returns Result<T>; the library never throws (a type mismatch on a typed getter is a failure Result, not an exception). Turn a failure into an exception on your own side with .value_or_throw(), or inspect .ok() / .status() / .message().