Parsing quotes and dropping null values
Opened this issue · 0 comments
vaibhavt19 commented
I understand this is not an issue and but I am trying to understand the reason behind it.
>> require "logfmt"
>> Logfmt.parse('foo=bar a=14 baz="hello kitty" cool%story=bro f %^asdf')
=> {"foo"=>"bar", "a"=>14, "baz"=>"hello kitty", "cool%story"=>"bro", "f"=>true, "%^asdf"=>true}`
Why null values have to get converted as true
Parsing the quotes in the string have similar behaviors. i.e "something"test"