Oj
jsonic
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Oj
-
What JSON Serializers are you using with rails ?
Hi guys, I know that Hotwire is the sh*t in rails nowadays, but if you were to build an API with rails, which serializer would you use ? I have my eyes on jsonapi-serializer with oj , but I am not sure if that is the best option nowadays. The jsonapi-serializer repo is a bit confusing, regarding which version should I use, same for ActiveModelSerializer to be honest.
-
Suggestions for how to reduce memory usage
Install OJ if you render out JSON a lot
-
Oj VS jsonic - a user suggested alternative
2 projects | 21 Nov 2022
-
How can I optimize my Rails app which is delivering thousands of objects to Vue?
Switch to using a faster serialization library like OJ.
-
Hunting down spooky JSON module redefinition via Oj
I knew that our app was using Oj for JSON serialisation. But I didn't initially notice anything spooky about pretty_generate. A colleague of mine (shoutout Iain) had keener eyes and pulled up the C file that dealt with something spooky sounding in mimic_json.c.
- Oj (Ruby) Just Got Faster
-
How to use oj with jb in Rails 6?
Hello there, I am using Rails 6.1, I am accustomed to JBuilder, but in an attempt to increase the performance, I decided to use [jb](https://github.com/amatsuda/jb). How can I use [oj](https://github.com/ohler55/oj/) with jb?
jsonic
What are some alternatives?
Nokogiri - Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
C-Simple-JSON-Parser - Extremely lightweight, easy-to-use & blazing fast JSON parsing library written in pure C
Jb - A simple and fast JSON API template engine for Ruby on Rails
jsn.c - A simple JSON utility that's intended to be used for parsing, generating and manipulating configuration files.
Ox - Ruby Optimized XML Parser
flatcc - FlatBuffers Compiler and Library in C for C
HTML::Pipeline - HTML processing filters and utilities
TOML - Parse TOML. Like a bawss.
Sablon - Ruby Document Template Processor based on docx templates and Mail Merge fields.
Tomlrb - A Racc based TOML parser
raabro - a Ruby PEG parser library
Oga - Oga is an XML/HTML parser written in Ruby.