std1.0.0-beta-7 SafeC docs

std :: serial::json

Struct std::Json

#include <std/serial/json.h> source

struct Json { }

The JSON backend as a Format (see value.h): v.encode(Json::new()), Value::decode(Json::new(), text, &ok) — the same as json_write / json_parse.

Methods

§static struct Json new()source · definition
§void write(const &Value v, &String out) constsource · definition
§struct Value parse(const &char text, ?&int ok) constsource · definition