mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-01-06 15:42:37 +01:00
Add method for converting object to JSON in template (#319)
* Add method for converting object to JSON in template * Split to , * Rename toJson function
This commit is contained in:
@@ -107,6 +107,8 @@ Some formatting and helper functions are also available:
|
||||
* `formatBytesBin`: formats an amount of bytes using powers of 1024 (e.g. `7055258` bytes will be `6.7 MiB`)
|
||||
* `formatBytesDec`: formats an amount of bytes using powers of 1000 (e.g. `7055258` bytes will be `7.1 MB`)
|
||||
* `env`: returns the value of the environment variable of the given key if set
|
||||
* `toJson`: converting object to JSON
|
||||
* `toPrettyJson`: converting object to pretty JSON
|
||||
|
||||
## Special characters in notification URLs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user