Skip to content

signaes/json2str

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json2str

Some times all you need is getting a quoted string from a JSON file, for this you can cargo install json2str, and then supposing you have a json file named sample.json with this content:

{
  "test": true
}

Running:

json2str sample.json

Should give you:

"{\"test\":true}"

About

Get a JSON file as a quoted string

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages