I have a requirement where I need to get a set of jsons before calling the API. I plan to add these json lines to app.config as shown below.
<add key="Jsons" value="{""Id"":""25"",""Name"":""Value-1""}"/>
However, adding this result results in a "Missing Spaces" compilation error at the beginning of the value. Please let me know if I missed something. I do not want to create a separate text file for reading jsons. That is why I decided to use app.config myself
source share