Fill

Sometimes you may want to have a value in your schema that you do not parse but need to have.

HTML
<div class="parent">
  <div class="blue">Blue Text</div>
</div>
Config
{
    "blueText": ".blue",
    "createdAt": {
        "fill": new Date().toUTCString()
    }
}
Output
{
    "blueText": "Blue Text",
    "cretedAt": "Tue, 29 Jun 2021 20:41:49 GMT"
}

Last updated