[ "array" : [ nil, true, 1, // Int in decimal 1.0, // Double in decimal "one", [1], ["one" : 1.0] ], "bool" : true, "data" : .Data("R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"), "date" : .Date(0x0p+0), "dictionary" : [ "array" : [], "bool" : false, "double" : 0x0p+0, "int" : 0, "nil" : nil, "object" : [:], "string" : "" ], "double" : 0x1.518f5c28f5c29p+5, // Double in hexadecimal "int" : -0x2a, // Int in hexadecimal "nil" : nil, "string" : "漢字、カタカナ、ひらがなの入ったstring😇", "url" : "https://github.com/dankogai/", nil : "Unlike JSON and Property Lists,", true : "Yes, SION", 1 : "does accept", 1.0 : "non-String keys.", [] : "like", [:] : "Map of ECMAScript." ]
{ None: 'Unlike JSON and Property Lists,', True: 'non-String keys.', 'array': [None, True, 1, 1.0, 'one', [1], {'one': 1.0}], 'bool': True, 'data': b'R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7', 'date': datetime.datetime(1970, 1, 1, 0, 0), 'dictionary': { 'array': [], 'bool': False, 'double': 0.0, 'int': 0, 'nil': None, 'object': {}, 'string': ''}, 'double': 42.195, 'int': -42, 'nil': None, 'string': '漢字、カタカナ、ひらがなの入ったstring😇', 'url': 'https://github.com/dankogai/', (): 'Map of ECMAScript.'}
戻る