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
Here are the problematic cases I've found:
$ echo 'NaN' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat16" $ echo 'Infinity' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat16" $ echo '-Infinity' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat16" $ echo '0.0' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat16" $ echo '-0.0' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat16"
The text was updated successfully, but these errors were encountered:
Another one:
$ echo '12.0' | dhall encode --json dhall: DeserialiseFailure 0 "unexpected CBOR token type for a JSON value: TypeFloat32"
Sorry, something went wrong.
Update cborg-json to fix #1350
51909f2
CBOR values that are unrepresentable in JSON, are encoded as `null`, e.g. $ echo 'Infinity' | dhall encode --json null
b623ea7
sjakobi
No branches or pull requests
Here are the problematic cases I've found:
The text was updated successfully, but these errors were encountered: