We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following example results in a string as the value, instead of raw json:
> bat POST :8000 name:='{0:0}' POST / HTTP/1.1 Host: localhost:8000 Accept: application/json Accept-Encoding: gzip, deflate Content-Type: application/json User-Agent: bat/0.1.0 {"name":"{0:0}"}
The same method with an array instead of an object results in an array, as expected:
> bat POST :8000 name:='[0,0]' POST / HTTP/1.1 Host: localhost:8000 Accept: application/json Accept-Encoding: gzip, deflate Content-Type: application/json User-Agent: bat/0.1.0 {"name":[0,0]}
The text was updated successfully, but these errors were encountered:
pls be aware that {0:0} is not valid JSON. The key must be a string
{0:0}
Sorry, something went wrong.
No branches or pull requests
The following example results in a string as the value, instead of raw json:
The same method with an array instead of an object results in an array, as expected:
The text was updated successfully, but these errors were encountered: