Added load_base64

This commit is contained in:
Mike Farah
2022-02-23 09:38:17 +11:00
parent d9bca65626
commit 61978b34df
5 changed files with 58 additions and 6 deletions
+16 -3
View File
@@ -13,20 +13,33 @@ You can load files of the following supported types:
| Properties | load_props |
| Plain String | load_str |
Lets say there is a file `../../examples/thing.yml`:
## Samples files for tests:
### yaml
`../../examples/thing.yml`:
```yaml
a: apple is included
b: cool
```
and a file `small.xml`:
### xml
`small.xml`:
```xml
<this>is some xml</this>
```
and `small.properties`:
### properties
`small.properties`:
```properties
this.is = a properties file
```
### base64
`base64.txt`:
```
bXkgc2VjcmV0IGNoaWxsaSByZWNpcGUgaXMuLi4u
```