code wiki / (root) / nx_compare_growth_json_20260910.nx

nx_compare_growth_json_20260910.nx

buildroot/runtime/nx_compare_growth_json_20260910.nx

6243 B104 linesdepth 7pulls 13 transitivereach 1 importersview sourcekind librarytopic compare
docsdependenciesstructsconstsfunctions

about

Caller-buffer JSON projection reuses the existing qualified JSON writer.

dependencies 2 imports · 1 importers

nx_compare_growth_lib_20260910.nx json_emit.nx nx_compare_growth_json_2026091 nx_compare_growth_gate_20260910.nx

imports: nx_compare_growth_lib_20260910.nxjson_emit.nx

imported by: nx_compare_growth_gate_20260910.nx

structs

none

consts

4const CG_JSON_WRITER_WORDS: i64=5

functions

5func cg_jkey(w: *JsonWriter,key: *u8) -> i64 { return json_emit_key(w,key,bf_slen(key)) }
6func cg_jstr(w: *JsonWriter,s: *u8) -> i64 { return json_emit_string(w,s,bf_slen(s)) }
7func cg_jfield(w: *JsonWriter,m: *CgModel,row: i64,col: i64,key: *u8) -> i64
12func cg_jnull(w: *JsonWriter,key: *u8) -> i64
called by 1: cg_jrows calls 2: cg_jkeyjson_emit_null
16func cg_jrows(w: *JsonWriter,m: *CgModel,kind: i64) -> i64
65func cg_json_write(w: *JsonWriter,m: *CgModel) -> i64
91func cg_json_into(m: *CgModel,buf: *u8,cap: i64) -> i64
called by 1: main calls 2: json_writer_initcg_json_write