README.md in strong_json-0.1.1 vs README.md in strong_json-0.1.2
- old
+ new
@@ -73,9 +73,14 @@
* `number?`
* `string?`
* `boolean?`
* `numeric?`
+Shorthands for `optional(array(ty))` and `optional(object(fields))` are also defined as the following:
+
+* `array?(ty)`
+* `object?(fields)`
+
## Contributing
1. Fork it ( https://github.com/soutaro/strong_json/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)