EntityDecoder[argonaut.Json] is broken in latest release (0.13.1a)
See original GitHub issuee̼
seems to be one of possibly a set of offending characters which trigger a silent error whereas the string literal is no longer the same after having been parsed into json.
I have not investigated yet what changed or might be causing the problem, but I have had to roll my own EntityDecoder[Json]
in Quasar which simply calls argonaut.Parse.parse
. That seems to work fine.
The answer might be as simple as a bug in the streaming jawn
parser.
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
JSON. parse() parses a string as JSON. This string has to be valid JSON and will throw this error if incorrect syntax was...
Read more >json-c - GitHub
Fully reproducible test cases and/or patches to fix problems are greatly appreciated. Fixes for bugs, or small new features can be directly submitted...
Read more >JSON.parse() not working - Stack Overflow
Your JsonObject seems is a Json Object. The reasons why you can't parse Json from a String: the String is surround by "...
Read more >JSON Data Type - MariaDB Knowledge Base
Replicating JSON Data Between MySQL and MariaDB. The JSON type in MySQL stores the JSON object in a compact form, not as LONGTEXT...
Read more >Resolve JSON errors in Amazon Athena
Why do I get errors when I try to read JSON data in Amazon Athena? ... Query the new table to identify the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aha! https://github.com/http4s/http4s/blob/master/project/Http4sBuild.scala#L70
That looks like the culprit and perhaps an easy fix!
Fix will be in 0.13.2.