mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Add the ability to remove surrounding braces from the JSON formatter.
This commit is contained in:
parent
212368b245
commit
b00bd7702f
2 changed files with 13 additions and 3 deletions
|
@ -27,8 +27,11 @@ public:
|
|||
threading::Value** vals) const;
|
||||
virtual threading::Value* ParseValue(const string& s, const string& name, TypeTag type, TypeTag subtype = TYPE_ERROR) const;
|
||||
|
||||
void SurroundingBraces(bool use_braces);
|
||||
|
||||
private:
|
||||
TimeFormat timestamps;
|
||||
bool surrounding_braces;
|
||||
};
|
||||
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue