Skip to content

tomekstrzeszkowski/json_to_csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run

cargo run -- '[{"a": 4, "b": 8}, {"a":9, "b": 10}]'
cargo run '''[{
        "name": "John Doe",
        "age": 43,
        "phones": [
            "+44 1234567",
            "+44 2345678"
        ],
        "ageX": 43
    }]'''
echo '''[{
        "name": "John Doe",
        "age": 43,
        "phones": [
            "+44 1234567",
            "+44 2345678"
        ],
        "ageX": 43
    }]''' | xargs -0 cargo run

VScode debugger

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "lldb",
            "request": "launch",
            "name": "Debug executable 'json_to_csv'",
            "cargo": {
                "args": [
                    "build",
                    "--bin=json_to_csv",
                    "--package=json_to_csv"
                ],
                "filter": {
                    "name": "json_to_csv",
                    "kind": "bin"
                }
            },
            "args": ["[{\"a\": 4, \"b\": 8}, {\"a\":9, \"b\": 10}]"],
            "cwd": "${workspaceFolder}"
        }
    ]
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages