<commit_before># json_rpc

json_rpc lets you build JSON RPC 2.0 aware Rack Applications.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'json_rpc'
```

And then execute:

```sh
$ bundle install
```

Or install it yourself as:

```sh
$ gem install json_rpc
```

## Usage

### Exposing Handlers
<commit_msg>Add JSON RPC 2.0 spec link.<commit_after># json_rpc

json_rpc lets you build [JSON RPC 2.0](http://www.jsonrpc.org/specification "JSON RPC 2.0") aware Rack Applications.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'json_rpc'
```

And then execute:

```sh
$ bundle install
```

Or install it yourself as:

```sh
$ gem install json_rpc
```

## Usage

### Exposing Handlers

{'fraction_non_alphanumeric': 0.12618724559023067, 'fraction_numerical': 0.010854816824966078, 'mean_word_length': 4.309352517985611, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '388678', 'n_tokens_mistral': 274, 'n_tokens_neox': 249, 'n_words': 90}