Implement all other encoding functions using json_dump_callback
authorPetri Lehtinen <petri@digip.org>
Sat, 24 Sep 2011 18:10:23 +0000 (21:10 +0300)
committerPetri Lehtinen <petri@digip.org>
Sat, 24 Sep 2011 18:10:34 +0000 (21:10 +0300)
commitb6d0191e51003dfdfd2dcb36a52baafcdbf4246c
tree7cf65878314d626fb9998175cd094b2523ca5822
parent2a70d62251b858c0109c00845f659f6d0a750160
Implement all other encoding functions using json_dump_callback

This way we can check for JSON_ENCODE_ANY flag in one place only.
src/dump.c