mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Change from_json to return an error rather than print it.
This commit is contained in:
parent
8054547712
commit
9ef579b09e
25 changed files with 24 additions and 36 deletions
|
@ -1477,6 +1477,7 @@ function from_json_default_key_mapper(s: string): string
|
|||
type from_json_result: record {
|
||||
v: any &optional; ##< Parsed value.
|
||||
valid: bool; ##< True if parsing was successful.
|
||||
err: string &optional; ## Error string if unsuccessful.
|
||||
};
|
||||
|
||||
# TCP values for :zeek:see:`endpoint` *state* field.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue