Open bsdinis opened 3 years ago
I see no reason why they cannot take an immutable reference to a JsonValue.
JsonValue
This would probably save a lot of cloneing.
clone
I noticed this too, i looked into the code and it seems it actually just calls the .pretty() method on the JsonValue object, so instad of using stringify_pretty you can use .pretty()
I see no reason why they cannot take an immutable reference to a
JsonValue
.This would probably save a lot of
clone
ing.