rudolph-miller / jonathan

JSON encoder and decoder.
http://rudolph-miller.github.io/jonathan/overview.html
164 stars 24 forks source link

Fix alist encoder #57

Closed kkazuo closed 5 years ago

kkazuo commented 5 years ago

This patch fix the problem:

from:

(("a" . ( (("aa" . 1)) ) ))
==> {"a":{"(aa . 1)":[]}}

to:

(("a" . ( (("aa" . 1)) ) ))
==> {"a":[{"aa":1}]}
coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 71.186% when pulling d845ef5b8c095cb9382f7268f7aafcc562ae9d8d on kkazuo:fix-alist-encoder into b9916fa35119d0f46377ca229f15e388efb992d6 on Rudolph-Miller:master.

rudolph-miller commented 5 years ago

Thanks!!