question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EntityDecoder[argonaut.Json] is broken in latest release (0.13.1a)

See original GitHub issue

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:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jedesahcommented, Apr 12, 2016

Aha! https://github.com/http4s/http4s/blob/master/project/Http4sBuild.scala#L70

That looks like the culprit and perhaps an easy fix!

0reactions
rossabakercommented, Apr 13, 2016

Fix will be in 0.13.2.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found