shale icon indicating copy to clipboard operation
shale copied to clipboard

Shale is a Ruby object mapper and serializer for JSON, YAML, TOML, CSV and XML. It allows you to parse JSON, YAML, TOML, CSV and XML data and convert it into Ruby data structures, as well as serialize...

Results 6 shale issues
Sort by recently updated
recently updated
newest added

Thanks for your hard work on this, this looks awesome! I was curious of union types are supported (e.g. `anyOf` in JSON Schema or `xsd:choice` in XSD).

Suppose you have the following code: ```ruby class Person; end class PersonMapper < Shale::Mapper model Person end require 'shale/schema' puts Shale::Schema.to_json( PersonMapper, pretty: true ) ``` You get ```json {...

Hey, thank you for the awesome work on Shale, it's really great. Since `discussions` is not enabled on this repo, I am opening a issue to hear from you. ##...

First, thank you for creating this project! Shale is a very nicely designed library and I've enjoyed working with it. My only feature request is for you to add an...

I noticed that the `default` attribute option is ignored and replaced with `-> { [] }` for collection attributes. I find it annoying, especially when someone wants the collection to...