MultiJSON is the perfect way to abstract JSON operations to one single library.
This tool allows developers to write their JSON-related tasks in one coherent syntax and then run it on top of any JSON client.
When the JSON client needs to be changed because of performance or outdated maintenance reasons, developers can easily switch the actual client library, modify a few lines of code and move on.
This avoids situations where hundreds or thousands of lines of code need to be rewritten due to a trivial update.
Supported JSON backends/clients:
- default JSON gem
- Gson
- JrJackson
- JSON Pure
- NSJSONSerialization
- OkJson
- Oj
- Yajl
MultiJSON can be used with Ruby on Rails, JRuby, and Rubinius.
What is new in this release:
- Make all adapters read IO object before load
What is new in version 1.11.0:
- Make all adapters read IO object before load
Requirements:
- Ruby 1.8.7 or higher
Comments not found