• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/json-c/tests/test_set_serializer.expected

  1 Test setting, then resetting a custom serializer:
  2 my_object.to_string(standard)={ "abc": 12, "foo": "bar" }
  3 my_object.to_string(custom serializer)=Custom Output
  4 Next line of output should be from the custom freeit function:
  5 freeit, value=123
  6 my_object.to_string(standard)={ "abc": 12, "foo": "bar" }
  7 Check that the custom serializer isn't free'd until the last json_object_put:
  8 my_object.to_string(custom serializer)=Custom Output
  9 Next line of output should be from the custom freeit function:
 10 freeit, value=123
 11 Check that the custom serializer does not include nul byte:
 12 my_object.to_string(custom serializer)={"double":                                                                                                                            1.}

This page was automatically generated by LXR 0.3.1.  •  OpenWrt