2020-05-24 21:19:34 +00:00
|
|
|
{
|
|
|
|
"some_global": "dog",
|
|
|
|
"loop": [
|
|
|
|
{
|
|
|
|
"person": {
|
|
|
|
"name": "Alice"
|
2020-05-25 20:21:25 +00:00
|
|
|
},
|
|
|
|
"friend": "Bob"
|
2020-05-24 21:19:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"person": {
|
|
|
|
"name": "Bob"
|
2020-05-25 20:21:25 +00:00
|
|
|
},
|
|
|
|
"friend": "Chris"
|
2020-05-24 21:19:34 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"person": {
|
|
|
|
"name": "Chris"
|
2020-05-25 20:21:25 +00:00
|
|
|
},
|
|
|
|
"friend": "Alice"
|
2020-05-24 21:19:34 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"explicit": {
|
|
|
|
"pet": "cat"
|
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": [],
|
|
|
|
"block": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the block."
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inline_partial": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the inline partial."
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"contents": "Explicit contexts are evaluated in the global context.",
|
|
|
|
"partial_context": {
|
|
|
|
"block": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the block inside the partial context."
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inline_partial": {
|
|
|
|
"message": {
|
|
|
|
"contents": "Explicit contexts are evaluated in the context of the inline partial inside the partial context."
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"contents": "Explicit contexts are evaluated in the global context inside the partial context."
|
|
|
|
}
|
2020-05-24 21:19:34 +00:00
|
|
|
}
|