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