% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/postprocess__process_outputs.R
\name{.extract_json_from_trace}
\alias{.extract_json_from_trace}
\title{Extract JSON from trace, with optional heuristic trace mining}
\usage{
.extract_json_from_trace(text, allow_trace_mining = NULL)
}
\arguments{
\item{text}{Raw trace text}

\item{allow_trace_mining}{Optional logical override. When NULL, uses
`getOption("asa.enable_trace_field_mining", FALSE)` (or corresponding env).}
}
\value{
Parsed JSON data as a list, or NULL if no JSON found
}
\description{
By default this returns canonical terminal JSON extracted from the trace.
Heuristic mining of tool messages is opt-in via option/env var or explicit
`allow_trace_mining = TRUE`.
}
\keyword{internal}
