add back debug --raw switch (#401)

* add back debug --raw switch

* tweak some debug and other settings
This commit is contained in:
Darren Schroeder
2021-12-02 08:32:12 -06:00
committed by GitHub
parent 071066b6d9
commit f2aa952e86
4 changed files with 48 additions and 20 deletions

View File

@ -317,6 +317,11 @@ impl Value {
}
}
/// Convert Value into a debug string
pub fn debug_value(self) -> String {
format!("{:#?}", self)
}
/// Convert Value into string. Note that Streams will be consumed.
pub fn debug_string(self, separator: &str, config: &Config) -> String {
match self {