For instance, if
key1:value1,key2:value2
is passed into the parser, I'd like it to be treated the same as:
{"key1":"value1","key2","value2"}
For instance, if
key1:value1,key2:value2
is passed into the parser, I'd like it to be treated the same as:
{"key1":"value1","key2","value2"}
What you have is not JSON. However, I think it might just be YAML, so check out YAML parsers if you like such a notation.