README.md in json-streamer-1.2.1 vs README.md in json-streamer-1.3.0
- old
+ new
@@ -47,11 +47,11 @@
```ruby
require 'json/streamer'
```
-### v1.2 API
+### v1.2 (and above) API
Check the unit tests for more examples ([spec/streamer_spec.rb](spec/json/streamer/json_streamer_spec.rb)).
#### Passing IO upfront
@@ -133,9 +133,31 @@
```
Output:
```json
{}
+```
+
+#### Symbolize keys
+
+Since [v1.3.0](https://github.com/thisismydesign/json-streamer/releases/tag/v1.3.0)
+
+```ruby
+streamer.get(nesting_level:0, symbolize_keys: true) do |object|
+ p object
+end
+```
+
+Input:
+```json
+{
+ "obj1" : {"key" : "value"}
+}
+```
+
+Output:
+```json
+{:obj1=>{:key=>"value"}}
```
#### Passing IO later (EventMachine-style)
```ruby