blob: b91a0814dfe3dae64ee8fdc8c7f102e2d420b023 [file] [log] [blame]
Eric Haszlakiewicz38f421a2012-09-02 15:21:56 -05001my_object.to_string(standard)={ "abc": 12, "foo": "bar" }
2my_object.to_string(custom serializer)=Custom Output
3Next line of output should be from the custom freeit function:
4freeit, value=123
5my_object.to_string(standard)={ "abc": 12, "foo": "bar" }
6Check that the custom serializer isn't free'd until the last json_object_put:
7my_object.to_string(custom serializer)=Custom Output
8Next line of output should be from the custom freeit function:
9freeit, value=123