Module: Xml2Json::Xml
- Defined in:
- lib/xml2json.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.build(json_s, opts: nil) ⇒ String
Note:
Default values are provided by xml2json-rs
Note:
It's not enough for the Ruby indent_char
string to be UTF-8 encoded, not sure if that's a bug or a feature of Magnus
Returns XML string.
36 |
# File 'lib/xml2json.rb', line 36 def self.build(json_s, opts: nil); end |
.build_pretty(json_s, opts: nil) ⇒ Object
Note:
Check Xml2Json::Xml.build
for other details, the only difference is that indent
is true by default
40 |
# File 'lib/xml2json.rb', line 40 def self.build_pretty(json_s, opts: nil); end |