anilmaurya / fast_jsonparser

Fastest Json parser for Ruby, wrapper for simdjson
MIT License
307 stars 10 forks source link

Error on mac M3. #28

Closed mateoqac closed 8 months ago

mateoqac commented 8 months ago

I got a new mac M3, and since then my test suite failed locally with the following error:

      Failure/Error: @body          = FastJsonparser.parse(http_response.body)

      FastJsonparser::ParseError:
        The JSON document has an improper structure: missing or superfluous commas, braces, missing keys, etc.

or

FastJsonparser::ParseError:
        Problem while parsing an atom starting with the letter 'n'

That's the only change I've made,

This is my laptop spec:

rails -v Rails 7.0.4.2

Using ASDF I have ruby -v ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin23]

I don't know what the issue could be, any ideas? Thanks in advance.