i just realised that ini struggles with input like
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
(which is taken from a valid gitconfig)
in the ini notation multiple keys with different values are valid, but when ini parses them to JSON they get lost due to the limitations of JSON.
any ideas for a workaround or should i build a custom parser on my own instead?
i just realised that ini struggles with input like
(which is taken from a valid gitconfig)
in the ini notation multiple keys with different values are valid, but when ini parses them to JSON they get lost due to the limitations of JSON.
any ideas for a workaround or should i build a custom parser on my own instead?