---
title: "ClikaRT::json"
sidebar_label: "json"
description: "Namespace ClikaRT::json"
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--namespace">namespace</span>

## Classes

| Name | Description |
| --- | --- |
| [`Json`](./Json.md) | A 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` {#json-h}

```cpp
#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()`.
