Skip to main content

Module lib_api

Module lib_api 

Source
Expand description

Core library API: record decode/encode and file-level processing. Core decode / encode API for COBOL binary data.

FunctionDirectionScope
decode_recordBinary → JSONSingle record
encode_recordJSON → BinarySingle record
decode_file_to_jsonlBinary → JSONLWhole file
encode_jsonl_to_fileJSONL → BinaryWhole file

Structs§

RunSummary
Summary of a processing run with comprehensive statistics.

Functions§

decode_file_to_jsonl
Decode a file to JSONL format
decode_record
Decode a single record from binary data to JSON
decode_record_with_raw_data
Decode a record with optional raw data for RDW format
decode_record_with_scratch
High-performance decode using reusable scratch buffers
encode_jsonl_to_file
Encode JSONL to binary file
encode_record
Encode JSON data to binary using the provided schema
increment_warning_counter
Increment the thread-local warning counter.