zeek/testing/btest/Baseline/bifs.from_json-6
Christian Kreibich df645e9bb2 Support map-based definition of ports in from_json()
The from_json() BiF and its underlying code in Val.cc currently expect ports
expressed as a string ('80/tcp' etc). Zeek's own serialization via ToJSON()
renders them as an object ('{"port":80, "proto":"tcp"}'). This adds support
for the latter format to from_json(), so serialized values can be read back.
2024-07-02 14:46:16 -07:00
..
.stderr Support map-based definition of ports in from_json() 2024-07-02 14:46:16 -07:00
.stdout Support map-based definition of ports in from_json() 2024-07-02 14:46:16 -07:00