Skip to content

JSON::ParserError: unexpected characters after the JSON document () at line 30, column 2 [sparse.c:642]

Notifications You must be signed in to change notification settings

swiknaba/testojmimic

Repository files navigation

example app for the following issue: ohler55/oj_mimic_json#7

adding the following gems:

gem 'oj'
gem 'oj_mimic_json'

then running

bundle exec rails action_text:install

results in JSON::ParserError: unexpected characters after the JSON document () at line 30, column 2 [sparse.c:642].

Removing oj_mimic_json solves the issue, hence this gem is the prime suspect.

Find a docker image here: https://hub.docker.com/layers/lud11/swiknaba/testojmimic/images/sha256-18822523defe24a7937a397acf6b0d0d5401604e4d0e527ab41dde45a120ddc7?context=repo

Quick demo: https://www.loom.com/share/3304286f50ff47c79228b58e0482eea4

About

JSON::ParserError: unexpected characters after the JSON document () at line 30, column 2 [sparse.c:642]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published