I need save into variable the file content (json string).
I try several methods, in particular:
#!/bin/bash
myjson=cat patch/file.jsn
but nothing not work.
How to correctly implement this task?
I need save into variable the file content (json string).
I try several methods, in particular:
#!/bin/bash
myjson=cat patch/file.jsn
but nothing not work.
How to correctly implement this task?
You can try this: