nx_lib_parse.nx
buildroot/runtime/nx_lib_parse.nx
about
nx_lib_parse.nx -- sovereign JSON -> work-record parser (retires the Python
json + pydantic parse of API responses = the "validation" census axis).
WIRES the ecosystem's RFC-8259 tokenizer nx_json: extracts top-level string
fields (title/doi/published/license/abstract/authors) from a work JSON object
into a TAB-delimited nx_lib_store record. Pure, local, no network. The live
fetch (nx_https_get) + this parser complete the http-client axis.
license_tier: ORIGINAL | genealogy_id: nishi_library_sovereign_parse_2026_07_01
dependencies 1 imports · 2 importers
imports: nx_json.nx
imported by: nx_lib_ingest_json.nxnx_lib_parse_test.nx
structs
| none |
consts
| none |
functions
| 11 | func lpr_key_eq(json: *u8, off: i64, len: i64, key: *u8, keylen: i64) -> i64 called by 1: nx_json_get_str |
| 21 | func nx_json_get_str(json: *u8, jlen: i64, key: *u8, keylen: i64, out: *u8) -> i64 |
| 57 | func lpr_field(json: *u8, jlen: i64, key: *u8, keylen: i64, out: *u8, off: i64) -> i64 |
| 70 | func nx_lib_parse_work(json: *u8, jlen: i64, out: *u8) -> i64 |