-
Notifications
You must be signed in to change notification settings - Fork 70
Mistaken appsettings.json as YAML file #38
Comments
Input json {
}, Output: |
@mba-jyskefinans-dk We shall look into this and keep you posted. |
@mba-jyskefinans-dk I had the same error and discovered a stray comma at the end of an object in my JSON. Removing the stray comma got variable substitution to work. You also have a stray comma in your sample input - at the end of the @BALAGA-GAYATRI this happens because YML is officially a superset of JSON. Anything which is valid JSON is also valid YML. On line 103 of One solution might be to explicitly use See also http://adilapapaya.com/docs/js-yaml/#safeloadstringoptions |
When substituting variables in appsettings.json is mistaken the file as a YAML file.
The text was updated successfully, but these errors were encountered: