mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 21:49:07 +08:00
15 lines
532 B
Plaintext
15 lines
532 B
Plaintext
Test default serializer:
|
|
obj.to_string(standard)=0.5
|
|
Test default serializer with custom userdata:
|
|
obj.to_string(userdata)=0.5
|
|
Test explicit serializer with custom userdata:
|
|
obj.to_string(custom)=test
|
|
Test reset serializer:
|
|
obj.to_string(reset)=0.5
|
|
obj.to_string(default format)=0.52381
|
|
obj.to_string(with global format)=x0.524y
|
|
obj.to_string(with thread format)=T0.52X
|
|
obj.to_string(long thread format)=Ttttttttttttt0.52xxxxxxxxxxxxxxxxxxX
|
|
obj.to_string(back to global format)=x0.524y
|
|
obj.to_string(back to default format)=0.52381
|