HAR parser for version 1.2
Add this to your application's shard.yml
:
dependencies:
har:
github: NeuraLegion/har
json = HAR.from_file(file)
# or from string using HAR.from_string(String)
pp json
json.version
# => 1.2
json.entries
# etc..
Pretty much done. If there is a needed feature please open an issue.
To run specs with debugging output you will have to set the LOG_LEVEL
to debug.
LOG_LEVEL=debug crystal spec
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request