2020-05-24 21:19:34 +00:00
|
|
|
{
|
2020-05-26 00:23:10 +00:00
|
|
|
"another_idx": {
|
|
|
|
"$idx": 21,
|
|
|
|
"$len": 22,
|
|
|
|
"other": 23
|
|
|
|
},
|
2020-05-25 23:30:30 +00:00
|
|
|
"block": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the block."
|
2020-05-24 21:19:34 +00:00
|
|
|
}
|
2020-05-24 22:16:16 +00:00
|
|
|
},
|
2020-05-25 23:30:30 +00:00
|
|
|
"contents": "Explicit contexts are evaluated in the global context.",
|
2020-05-24 22:16:16 +00:00
|
|
|
"deep_explicit": {
|
|
|
|
"explicit": {
|
|
|
|
"pet": "cat"
|
|
|
|
}
|
2020-05-25 19:40:42 +00:00
|
|
|
},
|
2020-05-25 21:53:04 +00:00
|
|
|
"empty_array": [],
|
2020-05-25 23:30:30 +00:00
|
|
|
"explicit": {
|
|
|
|
"pet": "cat"
|
2020-05-25 21:53:04 +00:00
|
|
|
},
|
2020-05-26 00:23:10 +00:00
|
|
|
"has_idx": {
|
|
|
|
"$idx": 14
|
|
|
|
},
|
2020-05-25 21:53:04 +00:00
|
|
|
"inline_partial": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the inline partial."
|
|
|
|
}
|
|
|
|
},
|
2020-05-25 23:30:30 +00:00
|
|
|
"loop": [
|
|
|
|
{
|
|
|
|
"friend": "Bob",
|
|
|
|
"person": {
|
|
|
|
"name": "Alice"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"friend": "Chris",
|
|
|
|
"person": {
|
|
|
|
"name": "Bob"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"friend": "Alice",
|
|
|
|
"person": {
|
|
|
|
"name": "Chris"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2020-05-25 21:53:04 +00:00
|
|
|
"partial_context": {
|
|
|
|
"block": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the block inside the partial context."
|
|
|
|
}
|
|
|
|
},
|
2020-05-25 23:30:30 +00:00
|
|
|
"contents": "Explicit contexts are evaluated in the global context inside the partial context.",
|
2020-05-25 21:53:04 +00:00
|
|
|
"inline_partial": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the inline partial inside the partial context."
|
|
|
|
}
|
2020-05-25 23:30:30 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"some_global": "dog"
|
2020-05-24 21:19:34 +00:00
|
|
|
}
|