lutaml / shale

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 data structures into JSON, YAML, TOML, CSV or XML.
https://shalerb.org/
MIT License
0 stars 1 forks source link

add namespace to root element without prefix #6

Closed HassanAkbar closed 2 months ago

HassanAkbar commented 3 months ago

Allowing to add default namespaces

fixes #1

HassanAkbar commented 3 months ago

@opoudjis / @andrew2net I've added the option to add default namespaces. Is this what you are looking for?

HassanAkbar commented 2 months ago

@ronaldtse Sure, I'll update the documentation and add the required test cases. But what do you really mean by update the reader to indicate this new feature?

ronaldtse commented 2 months ago

Sorry I meant README.

HassanAkbar commented 2 months ago

@ronaldtse Got it. I'll update the readme.

ronaldtse commented 2 months ago

Let's merge this first because we don't want to wait to use this.