std1.0.0-beta-7 SafeC docs

std :: serial::value

Struct std::ObjectEntry

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

struct ObjectEntry {
    ?&heap char key;
    &Value val;
}

One key/value pair inside a VAL_OBJECT's obj_val Vec.

Fields

§?&heap char keysource

heap-allocated, NUL-terminated, owned — empty (null)

only on an allocation failure inside Value::object_set()

heap-allocated, owned, always present once inserted