Questions tagged [jsontemplate]

JSON Template is a minimal but powerful templating language, currently implemented in both Python and JavaScript.

JSON Template is a minimal but powerful templating language, currently implemented in both Python and JavaScript.

28 questions
0
votes
0 answers

What is the best way to debug a custom Squarespace JSON-T web application?

So, a few years ago (2019), I built a custom Squarespace web application for one of my Church's podcast channels. They were using Squarespace for all of their web properties, so that's what I had to work with. I took a standard HTML template,…
Antwisted
  • 171
  • 1
  • 1
  • 6
0
votes
2 answers

How to establish connection between AWS account to outside services or application (which are not on AWS)

can we able to establish the connection between aws account and other services out side the aws? the scenario is like: I want to use my stack template from other application for eg some website A which run the script and create VPC in AWS. for that…
0
votes
1 answer

How to create class for dynamic JSON structure in Spring Boot Java

I have following JSON structure as input which can be nested and without nested. I want to fetch the JSON as input and process in Spring Boot application. How to create a class which dynamic key values in the JSON. It can be any key-value pairs in…
Galet
  • 5,853
  • 21
  • 82
  • 148
0
votes
1 answer

Using Mustache API to parse Elasticsearch JSON Template requests

I have been using the SearchTemplateRequest class to execute my requests which uses Mustache templating to parse my template string with the passed parameters. Elasticsearch Template - Converting Parameters to JSON However, I have to change my…
0
votes
1 answer

Azure VM Extension provisioning has taken too long to complete

When i am trying to deploy a template with extension i am getting timed out error as "Provisioning of VM extension InstallLamp has timed out. Extension provisioning has taken too long to complete. The extension did not report a message" I am trying…
Asif TMd
  • 9
  • 3
0
votes
0 answers

nested brackets in json template system, with objects

I'm using a json template with node. My json returns the follow: garden = { whichFruit: "orange", fruit: { orange: {color: "orange", shape: "circle"}, apple: {color: "red", shape: "round"} } } So normally, I can just do this …
Matt
  • 1,811
  • 1
  • 19
  • 30
0
votes
1 answer

squarespace multiple index page styles

The Squarespace docs say Each template family has its own Index style that falls into one of three designs: Grid, Stacked, Slideshow. In index.conf, I see I can change the indexType, and I suppose I can also change the layout to represent a grid. …
Ashbury
  • 2,160
  • 3
  • 27
  • 52
0
votes
1 answer

Is it possible to use json files as templates in Azure Data Factory through .Net SDK?

I am using .Net SDK for creating the pipelines and its Datasets, Linked services. I am having a doubt that we can get values from JSON templates and pass those values to the built-in methods. The following Class is used to create Azure Storage…
Arron
  • 1,134
  • 2
  • 13
  • 32
0
votes
1 answer

How can I recreate Squarespace's Product Quick View in standard Product View?

Overview So I'm trying to take functionality from one part of Squarespace's Galapagos commerce template and add it to another but it's proving to be more difficult than I thought. I need the image-swapping capability of the "Quick View" (example -…
Evan Lemmons
  • 807
  • 3
  • 11
  • 27
0
votes
1 answer

Can I insert content after every third item in a Squarespace JSONT repeated loop?

How can I add a new row after 3 items in a repeat loop? The repeat loop is:
{.repeated section items}
0
votes
2 answers

If statement syntax with Squarespace JSON templates

I am trying to evaluate a string in if statement using JSON templates. This works: {.if true}

It is true

{.end} However, this syntax breaks the page: {.if "foo"=="bar"}

Not true

{.end} How do I compare strings using JSON…
SeanPlusPlus
  • 8,663
  • 18
  • 59
  • 84
0
votes
1 answer

how to create complex {or} Statements in JSON Template

I've created some JSON Template statements that retrieve the thumbnail image in Page Settings in Squarespace. It works just like it should, but I have 3 sections that pull from a blog list, a blog item and a regular page. Right now the code runs…
user3370902
  • 4,803
  • 3
  • 14
  • 14
0
votes
1 answer

Do JSON templates help in loading content via AJAX and better performance?

We are working on a dynamic dashboard which is very similar to twitter's settings panel under our twitter account.As the dashboard has many controls,there is lot of content populated dynamically.So currently this is how we do it. This is one the…
coderunner
  • 925
  • 1
  • 18
  • 33
1
2