<commit_before># Oj gem
A fast JSON parser and Object marshaller as a Ruby gem.

## Installation
```
gem install oj
```
or in Bundler:
```
gem 'oj'
```

## Documentation

*Documentation*: http://www.ohler.com/oj

## Source

*GitHub* *repo*: https://github.com/ohler55/oj

*RubyGems* *repo*: https://rubygems.org/gems/oj

Follow [@peterohler on Twitter](http://twitter.com/#!/peterohler) for announcements and news about the Oj gem.

## Build Status

[![Build Status](https://secure.travis-ci.org/ohler55/oj.png?branch=master)](http://travis-ci.org/ohler55/oj)

### Current Release 2.9.9

 - Missed a character map entry. / in ascii mode is now output as / and not \/

 - Fixed SC parser to not treat all IO that respond to fileno as a file. It not
   checks stat and asks if it is a file.

 - Tightened object parsing of non-string hash keys so that just "^#x" is parsed
   as a hash pair and not "~#x".<commit_msg>point to docs at rubydoc.info<commit_after># Oj gem
A fast JSON parser and Object marshaller as a Ruby gem.

## Installation
```
gem install oj
```
or in Bundler:
```
gem 'oj'
```

## Documentation

*Documentation*: http://www.ohler.com/oj, http://rubydoc.info/gems/oj

## Source

*GitHub* *repo*: https://github.com/ohler55/oj

*RubyGems* *repo*: https://rubygems.org/gems/oj

Follow [@peterohler on Twitter](http://twitter.com/#!/peterohler) for announcements and news about the Oj gem.

## Build Status

[![Build Status](https://secure.travis-ci.org/ohler55/oj.png?branch=master)](http://travis-ci.org/ohler55/oj)

### Current Release 2.9.9

 - Missed a character map entry. / in ascii mode is now output as / and not \/

 - Fixed SC parser to not treat all IO that respond to fileno as a file. It not
   checks stat and asks if it is a file.

 - Tightened object parsing of non-string hash keys so that just "^#x" is parsed
   as a hash pair and not "~#x".
{'fraction_non_alphanumeric': 0.1376, 'fraction_numerical': 0.0096, 'mean_word_length': 3.5980392156862746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1100783', 'n_tokens_mistral': 679, 'n_tokens_neox': 632, 'n_words': 228}