adk_json (erlang_adk v0.7.0)
View SourceSafe conversion of ordinary Erlang values to a JSON value.
This module is intentionally small and deterministic. It is used at tool and transport boundaries so internal terms such as pids, references, funs, ports, and arbitrary printable crash data never leak into model prompts or externally visible events.
Summary
Types
Functions
-spec normalize(term()) -> {ok, term()} | {error, error_reason()}.
-spec normalize(term(), [path_part()]) -> {ok, term()} | {error, error_reason()}.