0.2.5 • Published 4 years ago
doc2cs v0.2.5
doc2cs
Convert mongodb doc json to C Sharp code, power by quicktype.
How to use
1. run directly
# output to Model.cs
npx doc2cs input.json
2. install and run
# install
npm i -g doc2cs
# run, output to Model.cs
doc2cs input.json
Command line
doc2cs <input.json> [<model>] [<namespace>]
# <input.json> can be any json file
# output to `<model>.cs`