Some parts adapted from golang.org/src/pkg/json/decode.go and golang.org/src/pkg/utf8/utf8.go
VERSION | = | "1.0.4" |
REQUIREMENT_MAP | = | [ ["yajl", :yajl], ["json", :json_gem], ["json/pure", :json_pure] |
DEFAULT_ENGINE_WARNING | = | 'Warning: multi_json is using default ok_json engine. Suggested action: require and load an appropriate JSON library.' |
Decode a JSON string into Ruby.
Options
:symbolize_keys : | If true, will use symbols instead of strings for the keys. |
The default engine based on what you currently have loaded and installed. First checks to see if any engines are already loaded, then checks to see which are installed if none are loaded.