dotnet / dotnet/command-line-api

Pass JSON as argument

Open
#2,276 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Spent hours trying to figure out how to pass valid JSON as argument value from command line. Double quote get stripped out:

myapp --param1 {"KEY":{}}

results in param1 having value {KEY:{}}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.