Skip to content

Food-X-Technologies/escolar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

escolar

Replace properties in json with file contents.

{
 "property": "#./contents.txt#",
}

Reads from properties that start and end with '#'; containing a file name inbetween.

Example

{
    "property": "#./contents.txt#",
    "fake": [],
    "inner": {
        "nope": 123,
        "what": "yes"
    }
}
working, y'all!

Output

{
    "property": "working, y'all!",
    "fake": [],
    "inner": {
        "nope": 123,
        "what": "yes"
    }
}