|
|
|
|
|
by h4l
713 days ago
|
|
Glad to hear, this was something I wanted to make reliable, ergonomic and intuitive. I figured a lot of languages use `: type` to declare types. The same using jo would be like this, which I find harder to type and remember: jo -- -s id=42 -n size=42 -s surname=null data=null
{"id":"42","size":42,"surname":"","data":null}
Notice that surname comes out as the empty string though, I think this must be a bug in jo! |
|