godwinjk / Json_Parser

MIT License
25 stars 7 forks source link

Requires opening and closing "{}" #18

Open streamtree opened 1 year ago

streamtree commented 1 year ago

Would be nice if it handled JSON that doesn't have a starting '{' and ending '}'

godwinjk commented 1 year ago

Can you paste a sample of JSON you are looking to parse?

streamtree commented 1 year ago

"sessionToken":23870,"paymentTemplateId":{"literal":"8eb5ee75-55f5-11ee-8d51-735136d08cff"}

I realized it's technically not valid JSON, but other formatters I use have no problem with it.