|12 days ago||4 months ago|
|MIT License||Mozilla Public License 2.0|
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.
Suggestions for how to reduce memory usage
2 projects | /r/rails | 24 Jan 2023
Install OJ if you render out JSON a lot
Oj VS jsonic - a user suggested alternative
2 projects | 21 Nov 2022
Hunting down spooky JSON module redefinition via Oj
3 projects | dev.to | 26 Apr 2022
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.
How to use oj with jb in Rails 6?
2 projects | /r/rails | 22 Apr 2021
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?
How to write a compiler or interpreter in rust
8 projects | /r/rust | 26 Dec 2021
In terms of parsing style I suggest sticking with a hand-written recursive-descent parser. Parser generators seem appealing at first, but I always ran into annoying limitations when using them (I wrote one in Ruby myself as well, and used this for this project). Parsing combinators are useful for small inputs, but I find them difficult to use for anything but simple cases.
What are some alternatives?
Nokogiri - Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
Ox - Ruby Optimized XML Parser
Jb - A simple and fast JSON API template engine for Ruby on Rails
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.
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
HappyMapper - Object to XML mapping library, using Nokogiri (Fork from John Nunemaker's Happymapper)
raabro - a Ruby PEG parser library