Replies: 1 comment
-
No, you cannot output the part of original Json file. It's already a
variable before passed into liquidjs.
However, there's a Json filter you can use to format the variable.
https://liquidjs.com/filters/json.html
```
Welcome to {{profile | json}} !
```
Please note the original formatting will be lost.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I have a question regarding the usage of a engine.render().
I have a code like this, which prints an output by using an origin JSON file and a LiquidJS template.
I want the result of this rendering to look like below:
That is, I want to print the 'object' inside an origin JSON file, not a variable.
However, what I see right now with the above code is like this:
Is there any way I can match an object inside the origin JSON file by using LiquidJS template?
Thank You for your support!
Beta Was this translation helpful? Give feedback.
All reactions