I was able to convert a list of yaml to Json format.
The below is my yaml.
Listofstrings:
- s1
- S2
Etc
{% for in in listofstrings %}
{ Stringslist : [
{ String : " { i } " },
]
{% end %}
So how do I remove the last comma in my json file to ensure proper Json format.
The Q's may sound naive but any help is greatly appreciated.