-
When using Ruby on Rails I'm running into ["NoMemoryError: Too deeply nested."](https://github.com/ohler55/oj/issues/325) with OJ's serialization within this gem. The suggested solution worked if I ed…
-
Trace:
```
irb(main):001:0> require 'oj';
=> true
irb(main):002:0> require 'multi_json'
=> true
irb(main):003:1* class A
irb(main):004:1* def to_json; end
irb(main):005:0> end
=> :to_json
…
-
When I updated Oj gem I get issue:
JSON::ParserError: Empty input at line 1, column 1 [parse.c:926]
This is because in new Oj version, for line https://github.com/ruby-json-schema/json-schema/blob/c…
-
# Problem
Hello there
Seems like I have an issue with `oj` (_after updating to `3.16.4`_) not properly being used in Rails when it comes to `ActionController::Parameters`.
Since the `users` par…
ellmo updated
1 month ago
-
By default, `Oj.dump` outputs JSON that can't be read by `Oj::Parser.usual`. For example, with the default settings, hashes with symbol keys and classes aren't parsed correctly.
### Hashes
```ru…
-
I've noticed that if you have the following:
```ruby
class PostSerializer < Oj::Serializer
attribute :title
end
```
You get an error:
```ruby
undefined local variable or method `t…
-
Oj has a very nice `Oj.optimize_rails()` method that automagically makes Rails use Oj for all it's JSON needs (source: https://github.com/ohler55/oj/blob/develop/pages/Rails.md)
Is there a plan for…
-
The oj gem is MRI specific. Will you accept a patch to convert this gem to use multi_json so that it picks a JRuby friendly JSON library when appropriate? It defaults to Oj, when that gem is available…
-
Oj is blindly serialising strings with invalid unicode sequences in them that I expected it would reject, when using Rails mode and setting `ActiveSupport::JSON::Encoding.escape_html_entities_in_json …
-
It seems 'oj' is not mandatory for this gem.
tune updated
10 years ago