///|
fn json_error_position(error : @json.ParseError) -> Array[Evidence] {
match error {
InvalidChar(pos, _)
| InvalidNumber(pos, _)
| InvalidIdentEscape(pos)
| DuplicateKey(pos, _) =>
[
{ key: "line", value: pos.line.to_string(), sensitive: false, },
{ key: "column", value: pos.column.to_string(), sensitive: false, },
]
InvalidEof | DepthLimitExceeded => []
}
}