koajs / bodyparser

Koa body parsing middleware
MIT License
1.31k stars 118 forks source link

json format not right #121

Closed mxyue closed 4 years ago

mxyue commented 5 years ago

client post json is {"tags":["traefik.tags: public","dev"]}

parse to { '{"tags":["traefik': { tags: 'public","dev"]}' } }

3imed-jaberi commented 4 years ago

I think you have something wrong, because I did run the test with the same object as you and the parsed result was {tags: ["traefik.tags: public", "dev"]} !!