Artifact c1b84078b759de5a6d9c220a799b2eebc109fcbf4e8e91bfe8ec0842cc35fff9:
- File
tests/serialization.xml
— part of check-in
[9746cff094]
at
2020-08-22 18:39:48
on branch trunk
— OFNumber: Don't always use the smallest type
This is annoying as it changes the type encoding, and hence makes
-[getValue:size:] a pain. (user: js, size: 1621) [annotate] [blame] [check-ins using] [more...]
<?xml version='1.0' encoding='UTF-8'?> <serialization xmlns='https://objfw.nil.im/serialization' version='1'> <OFMutableDictionary> <key> <OFString>Blub</OFString> </key> <object> <OFString>B"la</OFString> </object> <key> <OFData>MDEyMzQ1Njc4OTo7PEFCQ0RFRkdISklLTE1OT1BRUlNUVVZXWFla</OFData> </key> <object> <OFString>data</OFString> </object> <key> <OFArray> <OFString>Qu"xbar test</OFString> <OFNumber type='signed'>1234</OFNumber> <OFNumber type='float'>40934a456d5cfaad</OFNumber> <OFMutableString>asd</OFMutableString> <OFDate>40934a456d5cfaad</OFDate> </OFArray> </key> <object> <OFString>Hello</OFString> </object> <key> <OFList> <OFString>Hello</OFString> <OFString>Wo
ld! How are you?</OFString> <OFURL>https://objfw.nil.im/</OFURL> <OFXMLElement name='x'> <children> <OFMutableArray> <OFXMLElement name='y'/> <OFXMLCDATA><![CDATA[<]]></OFXMLCDATA> </OFMutableArray> </children> </OFXMLElement> <OFSet> <OFString>bar</OFString> <OFString>foo</OFString> </OFSet> <OFCountedSet> <object count='1'> <OFString>bar</OFString> </object> <object count='2'> <OFString>foo</OFString> </object> </OFCountedSet> </OFList> </key> <object> <OFString>list</OFString> </object> </OFMutableDictionary> </serialization>