---
# Documentation:
#
# 'input YAML':
# schema1, schema2: ['type', 'loaded value', 'dumped YAML']
#
# If you use this, you need to split the keys by ', ' to be able
# to iterate over the schemas.
#
# In case the 'loaded value' is a function (e.g. 'true()'), it stands for the
# native type
# true(): boolean true
# false(): boolean false
# null(): undefined, Null, None, ...
# inf(): infinity
# inf-neg(): negative infinity
# nan(): Not A Number
#
# The 'dumped YAML' is how the value should be dumped, without the starting ---
###############################################
# True
###############################################
'true':
json, core, yaml11: ['bool', 'true()', 'true']
failsafe: ['str', 'true', 'true']
'True':
core, yaml11: ['bool', 'true()', 'true']
failsafe, json: ['str', 'True', 'True']
'TRUE':
core, yaml11: ['bool', 'true()', 'true']
failsafe, json: ['str', 'TRUE', 'TRUE']
'y':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'y', "y"]
'Y':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'Y', "Y"]
'yes':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'yes', "yes"]
'Yes':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'Yes', "Yes"]
'YES':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'YES', "YES"]
'on':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'on', "on"]
'On':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'On', "On"]
'ON':
yaml11: ['bool', 'true()', "true"]
failsafe, json, core: ['str', 'ON', "ON"]
'!!bool true':
json, core, yaml11: ['bool', 'true()', 'true']
'!!bool True':
core, yaml11: ['bool', 'true()', 'true']
'!!bool TRUE':
core, yaml11: ['bool', 'true()', 'true']
'!!bool y':
yaml11: ['bool', 'true()', "true"]
'!!bool Y':
yaml11: ['bool', 'true()', "true"]
'!!bool yes':
yaml11: ['bool', 'true()', "true"]
'!!bool Yes':
yaml11: ['bool', 'true()', "true"]
'!!bool YES':
yaml11: ['bool', 'true()', "true"]
'!!bool on':
yaml11: ['bool', 'true()', "true"]
'!!bool On':
yaml11: ['bool', 'true()', "true"]
'!!bool ON':
yaml11: ['bool', 'true()', "true"]
'!!str true':
failsafe: ['str', 'true', 'true']
json, core, yaml11: ['str', 'true', "'true'"]
'!!str True':
failsafe, json: ['str', 'True', 'True']
core, yaml11: ['str', 'True', "'True'"]
'!!str TRUE':
failsafe, json: ['str', 'TRUE', 'TRUE']
core, yaml11: ['str', 'TRUE', "'TRUE'"]
'!!str yes':
failsafe, json, core: ['str', 'yes', "yes" ]
yaml11: ['str', 'yes', "'yes'" ]
'!!str Yes':
failsafe, json, core: ['str', 'Yes', "Yes" ]
yaml11: ['str', 'Yes', "'Yes'" ]
'!!str YES':
failsafe, json, core: ['str', 'YES', "YES" ]
yaml11: ['str', 'YES', "'YES'" ]
'!!str y':
failsafe, json, core: ['str', 'y', "y" ]
yaml11: ['str', 'y', "'y'" ]
'!!str Y':
failsafe, json, core: ['str', 'Y', "Y" ]
yaml11: ['str', 'Y', "'Y'" ]
'!!str on':
failsafe, json, core: ['str', 'on', "on" ]
yaml11: ['str', 'on', "'on'" ]
'!!str On':
failsafe, json, core: ['str', 'On', "On" ]
yaml11: ['str', 'On', "'On'" ]
'!!str ON':
failsafe, json, core: ['str', 'ON', "ON" ]
yaml11: ['str', 'ON', "'ON'" ]
###############################################
# False
###############################################
'false':
failsafe: ['str', 'false', 'false']
json, core, yaml11: ['bool', 'false()', 'false']
'False':
failsafe, json: ['str', 'False', 'False']
core, yaml11: ['bool', 'false()', 'false']
'FALSE':
failsafe, json: ['str', 'FALSE', 'FALSE']
core, yaml11: ['bool', 'false()', 'false']
'n':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'n', "n"]
'N':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'N', "N"]
'no':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'no', "no"]
'NO':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'NO', "NO"]
'off':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'off', "off"]
'Off':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'Off', "Off"]
'OFF':
yaml11: ['bool', 'false()', "false"]
failsafe, json, core: ['str', 'OFF', "OFF"]
'!!bool false':
json, core, yaml11: ['bool', 'false()', 'false']
'!!bool False':
core, yaml11: ['bool', 'false()', 'false']
'!!bool FALSE':
core, yaml11: ['bool', 'false()', 'false']
'!!bool n':
yaml11: ['bool', 'false()', "false"]
'!!bool N':
yaml11: ['bool', 'false()', "false"]
'!!bool no':
yaml11: ['bool', 'false()', "false"]
'!!bool No':
yaml11: ['bool', 'false()', "false"]
'!!bool NO':
yaml11: ['bool', 'false()', "false"]
'!!bool off':
yaml11: ['bool', 'false()', "false"]
'!!bool Off':
yaml11: ['bool', 'false()', "false"]
'!!bool OFF':
yaml11: ['bool', 'false()', "false"]
'!!str false':
json, core, yaml11: ['str', 'false', "'false'"]
failsafe: ['str', 'false', 'false']
'!!str False':
failsafe, json: ['str', 'False', "False"]
core, yaml11: ['str', 'False', "'False'"]
'!!str FALSE':
failsafe, json: ['str', 'FALSE', "FALSE"]
core, yaml11: ['str', 'FALSE', "'FALSE'"]
'!!str n':
failsafe, json, core: ['str', 'n', "n" ]
yaml11: ['str', 'n', "'n'" ]
'!!str N':
failsafe, json, core: ['str', 'N', "N" ]
yaml11: ['str', 'N', "'N'" ]
'!!str no':
failsafe, json, core: ['str', 'no', "no" ]
yaml11: ['str', 'no', "'no'" ]
'!!str NO':
failsafe, json, core: ['str', 'NO', "NO" ]
yaml11: ['str', 'NO', "'NO'" ]
'!!str off':
failsafe, json, core: ['str', 'off', "off" ]
yaml11: ['str', 'off', "'off'" ]
'!!str Off':
failsafe, json, core: ['str', 'Off', "Off" ]
yaml11: ['str', 'Off', "'Off'" ]
'!!str OFF':
failsafe, json, core: ['str', 'OFF', "OFF" ]
yaml11: ['str', 'OFF', "'OFF'" ]
###############################################
# Null
###############################################
'null':
failsafe: ['str', 'null', 'null']
json, core, yaml11: ['null', 'null()', "null"]
'Null':
failsafe, json: ['str', 'Null', 'Null']
core, yaml11: ['null', 'null()', "null"]
'NULL':
failsafe, json: ['str', 'NULL', 'NULL']
core, yaml11: ['null', 'null()', "null"]
'~':
failsafe, json: ['str', '~', '~']
core, yaml11: ['null', 'null()', "null"]
'!!null null':
json, core, yaml11: ['null', 'null()', 'null']
'!!null Null':
core, yaml11: ['null', 'null()', "null"]
'!!null NULL':
core, yaml11: ['null', 'null()', "null"]
'!!null ~':
core, yaml11: ['null', 'null()', 'null']
'!!str null':
failsafe: ['str', 'null', 'null']
json, core, yaml11: ['str', 'null', "'null'"]
'!!str Null':
failsafe, json: ['str', 'Null', "Null"]
core, yaml11: ['str', 'Null', "'Null'"]
'!!str NULL':
failsafe, json: ['str', 'NULL', "NULL"]
core, yaml11: ['str', 'NULL', "'NULL'"]
'!!str ~':
core, yaml11: ['str', '~', "'~'"]
failsafe, json: ['str', '~', '~']
'#empty':
core, yaml11: ['null', 'null()', "null"]
failsafe, json: ['str', '', "''"]
'!!null #empty':
core, yaml11: ['null', 'null()', "null"]
'!!str #empty':
failsafe, json, core, yaml11: ['str', '', "''"]
###############################################
# Inf
###############################################
'.inf':
failsafe, json: ['str', '.inf', '.inf']
core, yaml11: ['inf', 'inf()', '.inf']
'.Inf':
failsafe, json: ['str', '.Inf', '.Inf']
core, yaml11: ['inf', 'inf()', '.inf']
'.INF':
failsafe, json: ['str', '.INF', '.INF']
core, yaml11: ['inf', 'inf()', '.inf']
'!!float .inf':
core, yaml11: ['inf', 'inf()', '.inf']
'!!float .Inf':
core, yaml11: ['inf', 'inf()', '.inf']
'!!float .INF':
core, yaml11: ['inf', 'inf()', '.inf']
'!!str .inf':
failsafe, json: ['str', '.inf', ".inf"]
core, yaml11: ['str', '.inf', "'.inf'"]
'!!str .Inf':
failsafe, json: ['str', '.Inf', ".Inf"]
core, yaml11: ['str', '.Inf', "'.Inf'"]
'!!str .INF':
failsafe, json: ['str', '.INF', ".INF"]
core, yaml11: ['str', '.INF', "'.INF'"]
'+.inf':
core, yaml11: ['inf', 'inf()', '.inf']
failsafe, json: ['str', '+.inf', '+.inf']
'+.Inf':
core, yaml11: ['inf', 'inf()', '.inf']
failsafe, json: ['str', '+.Inf', '+.Inf']
'+.INF':
core, yaml11: ['inf', 'inf()', '.inf']
failsafe, json: ['str', '+.INF', '+.INF']
'!!float +.inf':
core, yaml11: ['inf', 'inf()', '.inf']
'!!float +.Inf':
core, yaml11: ['inf', 'inf()', '.inf']
'!!float +.INF':
core, yaml11: ['inf', 'inf()', '.inf']
'!!str +.inf':
failsafe, json: ['str', '+.inf', "+.inf"]
core, yaml11: ['str', '+.inf', "'+.inf'"]
'!!str +.Inf':
failsafe, json: ['str', '+.Inf', "+.Inf"]
core, yaml11: ['str', '+.Inf', "'+.Inf'"]
'!!str +.INF':
failsafe, json: ['str', '+.INF', "+.INF"]
core, yaml11: ['str', '+.INF', "'+.INF'"]
'-.inf':
failsafe, json: ['str', '-.inf', '-.inf']
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'-.Inf':
failsafe, json: ['str', '-.Inf', '-.Inf']
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'-.INF':
failsafe, json: ['str', '-.INF', '-.INF']
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'!!float -.inf':
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'!!float -.Inf':
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'!!float -.INF':
core, yaml11: ['inf', 'inf-neg()', '-.inf']
'!!str -.inf':
failsafe, json: ['str', '-.inf', "-.inf"]
core, yaml11: ['str', '-.inf', "'-.inf'"]
'!!str -.Inf':
failsafe, json: ['str', '-.Inf', "-.Inf"]
core, yaml11: ['str', '-.Inf', "'-.Inf'"]
'!!str -.INF':
failsafe, json: ['str', '-.INF', "-.INF"]
core, yaml11: ['str', '-.INF', "'-.INF'"]
###############################################
# NaN
###############################################
'.nan':
failsafe, json: ['str', '.nan', '.nan']
core, yaml11: ['nan', 'nan()', '.nan']
'.NaN':
core, yaml11: ['nan', 'nan()', '.nan']
failsafe, json: ['str', '.NaN', '.NaN']
'.NAN':
failsafe, json: ['str', '.NAN', '.NAN']
core, yaml11: ['nan', 'nan()', '.nan']
'!!float .nan':
core, yaml11: ['nan', 'nan()', '.nan']
'!!float .NaN':
core, yaml11: ['nan', 'nan()', '.nan']
'!!float .NAN':
core, yaml11: ['nan', 'nan()', '.nan']
'!!str .nan':
failsafe, json: ['str', '.nan', ".nan"]
core, yaml11: ['str', '.nan', "'.nan'"]
'!!str .NaN':
failsafe, json: ['str', '.NaN', ".NaN"]
core, yaml11: ['str', '.NaN', "'.NaN'"]
'!!str .NAN':
failsafe, json: ['str', '.NAN', ".NAN"]
core, yaml11: ['str', '.NAN', "'.NAN'"]
###############################################
# Int
###############################################
'0':
failsafe: ['str', '0', '0']
json, core, yaml11: ['int', '0', '0']
'00':
failsafe, json: ['str', '00', '00']
core: ['int', '0', '0']
yaml11: ['int', '0', '0']
'0011':
core: ['int', '11', '11']
failsafe, json: ['str', '0011', '0011']
yaml11: ['int', '9', '9']
'010':
failsafe, json: ['str', '010', '010']
core: ['int', '10', '10']
yaml11: ['int', '8', '8']
'07':
failsafe, json: ['str', '07', '07']
yaml11: ['int', '7', '7']
core: ['int', '7', '7']
'08':
failsafe, json: ['str', '08', '08']
yaml11: ['str', '08', '08']
core: ['int', '8', '8']
'02_0':
failsafe, json, core: ['str', '02_0', '02_0']
yaml11: ['int', '16', '16']
'23':
failsafe: ['str', '23', '23']
json, core, yaml11: ['int', '23', '23']
'100_000':
yaml11: ['int', '100000', '100000']
failsafe, json, core: ['str', '100_000', '100_000']
'!!int 0':
json, core, yaml11: ['int', '0', '0']
'!!int 00':
yaml11: ['int', '0', '0']
'!!int 0011':
yaml11: ['int', '9', '9']
core: ['int', '11', '11']
'!!int 010':
yaml11: ['int', '8', '8']
'!!int 07':
core: ['int', '7', '7']
yaml11: ['int', '7', '7']
'!!int 02_0':
yaml11: ['int', '16', '16']
'!!int 23':
json, core, yaml11: ['int', '23', '23']
'!!int 100_000':
yaml11: ['int', '100000', '100000']
'-0':
json, core, yaml11: ['int', '0', '0']
failsafe: ['str', '-0', '-0']
'-23':
json, core, yaml11: ['int', '-23', '-23']
failsafe: ['str', '-23', '-23']
'-0100_200':
failsafe, json, core: ['str', '-0100_200', '-0100_200']
yaml11: ['int', '-32896', '-32896']
'!!int -0':
json, core, yaml11: ['int', '0', '0']
'!!int -23':
json, core, yaml11: ['int', '-23', '-23']
'!!int -0100_200':
yaml11: ['int', '-32896', '-32896']
'+0':
core, yaml11: ['int', '0', '0']
failsafe, json: ['str', '+0', '+0']
'+23':
core, yaml11: ['int', '23', '23']
failsafe, json: ['str', '+23', '+23']
'+0100_200':
yaml11: ['int', '32896', '32896']
failsafe, json, core: ['str', '+0100_200', '+0100_200']
'!!int +0':
core, yaml11: ['int', '0', '0']
'!!int +23':
core, yaml11: ['int', '23', '23']
'!!int +0100_200':
yaml11: ['int', '32896', '32896']
'!!str 0':
failsafe: ['str', '0', "0"]
json, core, yaml11: ['str', '0', "'0'"]
'!!str 00':
failsafe, json: ['str', '00', "00"]
core, yaml11: ['str', '00', "'00'"]
'!!str 010':
failsafe, json: ['str', '010', "010"]
core, yaml11: ['str', '010', "'010'"]
'!!str 0011':
failsafe, json: ['str', '0011', "0011"]
core, yaml11: ['str', '0011', "'0011'"]
'!!str 07':
failsafe, json: ['str', '07', "07"]
core, yaml11: ['str', '07', "'07'"]
'!!str 23':
failsafe: ['str', '23', '23']
json, core, yaml11: ['str', '23', "'23'"]
'!!str 100_000':
failsafe, json, core: ['str', '100_000', "100_000"]
yaml11: ['str', '100_000', "'100_000'"]
'!!str 02_0':
failsafe, json, core: ['str', '02_0', "02_0"]
yaml11: ['str', '02_0', "'02_0'"]
'!!str -0':
failsafe: ['str', '-0', "-0"]
json, core, yaml11: ['str', '-0', "'-0'"]
'!!str -23':
failsafe: ['str', '-23', "-23"]
json, core, yaml11: ['str', '-23', "'-23'"]
'!!str +0':
failsafe, json: ['str', '+0', "+0"]
core, yaml11: ['str', '+0', "'+0'"]
'!!str +23':
failsafe, json: ['str', '+23', "+23"]
core, yaml11: ['str', '+23', "'+23'"]
'!!str +0100_200':
failsafe, json, core: ['str', '+0100_200', "+0100_200"]
yaml11: ['str', '+0100_200', "'+0100_200'"]
'!!str -0100_200':
failsafe, json, core: ['str', '-0100_200', "-0100_200"]
yaml11: ['str', '-0100_200', "'-0100_200'"]
###############################################
# Oct
###############################################
'0o0':
core: ['int', '0', '0']
failsafe, json, yaml11: ['str', '0o0', '0o0']
'0o7':
core: ['int', '7', '7']
failsafe, json, yaml11: ['str', '0o7', '0o7']
'0o10':
core: ['int', '8', '8']
failsafe, json, yaml11: ['str', '0o10', '0o10']
'!!int 0o0':
core: ['int', '0', '0']
'!!int 0o7':
core: ['int', '7', '7']
'!!int 0o10':
core: ['int', '8', '8']
'!!str 0o0':
failsafe, json, yaml11: ['str', '0o0', "0o0"]
core: ['str', '0o0', "'0o0'"]
'!!str 0o7':
failsafe, json, yaml11: ['str', '0o7', "0o7"]
core: ['str', '0o7', "'0o7'"]
'!!str 0o10':
failsafe, json, yaml11: ['str', '0o10', "0o10"]
core: ['str', '0o10', "'0o10'"]
###############################################
# Hex
###############################################
'0x0':
failsafe, json: ['str', '0x0', '0x0']
core, yaml11: ['int', '0', '0']
'0x10':
failsafe, json: ['str', '0x10', '0x10']
core, yaml11: ['int', '16', '16']
'0x42':
failsafe, json: ['str', '0x42', '0x42']
core, yaml11: ['int', '66', '66']
'0xa':
failsafe, json: ['str', '0xa', '0xa']
core, yaml11: ['int', '10', '10']
'-0x30':
failsafe, json, core: ['str', '-0x30', '-0x30']
yaml11: ['int', '-48', '-48']
'0x2_0':
failsafe, json, core: ['str', '0x2_0', '0x2_0']
yaml11: ['int', '32', '32']
'!!int 0x10':
core, yaml11: ['int', '16', '16']
'!!int 0x0':
core, yaml11: ['int', '0', '0']
'!!int 0x42':
core, yaml11: ['int', '66', '66']
'!!int 0xa':
core, yaml11: ['int', '10', '10']
'!!int 0x2_0':
yaml11: ['int', '32', '32']
'!!int -0x30':
yaml11: ['int', '-48', '-48']
'!!str 0x0':
failsafe, json: ['str', '0x0', "0x0"]
core, yaml11: ['str', '0x0', "'0x0'"]
'!!str 0x2_0':
failsafe, json, core: ['str', '0x2_0', "0x2_0"]
yaml11: ['str', '0x2_0', "'0x2_0'"]
'!!str -0x30':
failsafe, json, core: ['str', '-0x30', "-0x30"]
yaml11: ['str', '-0x30', "'-0x30'"]
'!!str 0xa':
failsafe, json: ['str', '0xa', "0xa"]
core, yaml11: ['str', '0xa', "'0xa'"]
###############################################
# Binary
###############################################
'0b0':
failsafe, json, core: ['str', '0b0', '0b0']
yaml11: ['int', '0', '0']
'+0b100':
failsafe, json, core: ['str', '+0b100', '+0b100']
yaml11: ['int', '4', '4']
'-0b101':
failsafe, json, core: ['str', '-0b101', '-0b101']
yaml11: ['int', '-5', '-5']
'0b100_101':
failsafe, json, core: ['str', '0b100_101', '0b100_101']
yaml11: ['int', '37', '37']
'!!int 0b0':
yaml11: ['int', '0', '0']
'!!int 0b100_101':
yaml11: ['int', '37', '37']
'!!int +0b100':
yaml11: ['int', '4', '4']
'!!int -0b101':
yaml11: ['int', '-5', '-5']
'!!str 0b0':
failsafe, json, core: ['str', '0b0', "0b0"]
yaml11: ['str', '0b0', "'0b0'"]
'!!str -0b101':
failsafe, json, core: ['str', '-0b101', "-0b101"]
yaml11: ['str', '-0b101', "'-0b101'"]
'!!str 0b100_101':
failsafe, json, core: ['str', '0b100_101', "0b100_101"]
yaml11: ['str', '0b100_101', "'0b100_101'"]
'!!str +0b100':
failsafe, json, core: ['str', '+0b100', "+0b100"]
yaml11: ['str', '+0b100', "'+0b100'"]
###############################################
# Sexagesimal
###############################################
'190:20:30':
failsafe, json, core: ['str', '190:20:30', '190:20:30']
yaml11: ['int', '685230', '685230']
'-190:20:30':
failsafe, json, core: ['str', '-190:20:30', '-190:20:30']
yaml11: ['int', '-685230', '-685230']
'+190:20:30':
failsafe, json, core: ['str', '+190:20:30', '+190:20:30']
yaml11: ['int', '685230', '685230']
'!!int 190:20:30':
yaml11: ['int', '685230', '685230']
'!!int -190:20:30':
yaml11: ['int', '-685230', '-685230']
'!!int +190:20:30':
yaml11: ['int', '685230', '685230']
'!!str 190:20:30':
failsafe, json, core: ['str', '190:20:30', "190:20:30"]
yaml11: ['str', '190:20:30', "'190:20:30'"]
'!!str -190:20:30':
failsafe, json, core: ['str', '-190:20:30', "-190:20:30"]
yaml11: ['str', '-190:20:30', "'-190:20:30'"]
'!!str +190:20:30':
failsafe, json, core: ['str', '+190:20:30', "+190:20:30"]
yaml11: ['str', '+190:20:30', "'+190:20:30'"]
###############################################
# Float
###############################################
'.0':
failsafe, json: ['str', '.0', '.0']
core, yaml11: ['float', '0.0', '0.0']
'.14':
failsafe, json: ['str', '.14', '.14']
core, yaml11: ['float', '0.14', '0.14']
'0.0':
failsafe: ['str', '0.0', '0.0']
json, core, yaml11: ['float', '0.0', '0.0']
'3.14':
failsafe: ['str', '3.14', '3.14']
json, core, yaml11: ['float', '3.14', '3.14']
'001.23':
failsafe, json: ['str', '001.23', '001.23']
core, yaml11: ['float', '1.23', '1.23']
'85_230.15':
failsafe, json, core: ['str', '85_230.15', '85_230.15']
yaml11: ['float', '85230.15', '85230.15']
'-3.14':
failsafe: ['str', '-3.14', '-3.14']
json, core, yaml11: ['float', '-3.14', '-3.14']
'+3.14':
failsafe, json: ['str', '+3.14', '+3.14']
core, yaml11: ['float', '3.14', '3.14']
'!!float .0':
core, yaml11: ['float', '0.0', '0.0']
'!!float 0.0':
json, core, yaml11: ['float', '0.0', '0.0']
'!!float 3.14':
json, core, yaml11: ['float', '3.14', '3.14']
'!!float -3.14':
json, core, yaml11: ['float', '-3.14', '-3.14']
'!!float 001.23':
core, yaml11: ['float', '1.23', '1.23']
'!!float 85_230.15':
yaml11: ['float', '85230.15', '85230.15']
'!!str .0':
failsafe, json: ['str', '.0', ".0"]
core, yaml11: ['str', '.0', "'.0'"]
'!!str 0.0':
failsafe: ['str', '0.0', "0.0"]
json, core, yaml11: ['str', '0.0', "'0.0'"]
'!!str 3.14':
failsafe: ['str', '3.14', "3.14"]
json, core, yaml11: ['str', '3.14', "'3.14'"]
'!!str -3.14':
failsafe: ['str', '-3.14', "-3.14"]
json, core, yaml11: ['str', '-3.14', "'-3.14'"]
'!!str 001.23':
failsafe, json: ['str', '001.23', "001.23"]
core, yaml11: ['str', '001.23', "'001.23'"]
'!!str 85_230.15':
failsafe, json, core: ['str', '85_230.15', "85_230.15"]
yaml11: ['str', '85_230.15', "'85_230.15'"]
###############################################
# Exp
###############################################
'.3e3':
failsafe, json, yaml11: ['str', '.3e3', '.3e3']
core: ['float', '300.0', '300.0']
'.3e+3':
failsafe, json: ['str', '.3e+3', '.3e+3']
core, yaml11: ['float', '300.0', '300.0']
'.3E-1':
failsafe, json: ['str', '.3E-1', '.3E-1']
core, yaml11: ['float', '0.03', '0.03']
'0.3e3':
json, core: ['float', '300.0', '300.0']
failsafe, yaml11: ['str', '0.3e3', '0.3e3']
'3.3e+3':
failsafe: ['str', '3.3e+3', '3.3e+3']
json, core, yaml11: ['float', '3300', '3300.0']
'3e3':
json, core: ['float', '3000', '3000.0']
failsafe, yaml11: ['str', '3e3', '3e3']
'85.230_15e+03':
failsafe, json, core: ['str', '85.230_15e+03', '85.230_15e+03']
yaml11: ['float', '85230.15', '85230.15']
'+0.3e+3':
failsafe, json: ['str', '+0.3e+3', '+0.3e+3']
core, yaml11: ['float', '300.0', '300.0']
'+0.3e3':
failsafe, json: ['str', '+0.3e3', '+0.3e3']
core: ['float', '300.0', '300.0']
yaml11: ['str', '+0.3e3', '+0.3e3']
'!!float .3e3':
core: ['float', '300.0', '300.0']
'!!float 0.3e3':
json, core: ['float', '300.0', '300.0']
'!!float +0.3e3':
core: ['float', '300.0', '300.0']
'!!float .3E-1':
core, yaml11: ['float', '0.03', '0.03']
'!!float 3.3e+3':
core, yaml11: ['float', '3300.0', '3300.0']
'!!float +0.3e+3':
core, yaml11: ['float', '300.0', '300.0']
'!!float .3e+3':
core, yaml11: ['float', '300.0', '300.0']
'!!float 85.230_15e+03':
yaml11: ['float', '85230.15', '85230.15']
'!!str .3e+3':
failsafe, json: ['str', '.3e+3', ".3e+3"]
core, yaml11: ['str', '.3e+3', "'.3e+3'"]
'!!str .3E-1':
failsafe, json: ['str', '.3E-1', ".3E-1"]
core, yaml11: ['str', '.3E-1', "'.3E-1'"]
'!!str .3e3':
failsafe, json, yaml11: ['str', '.3e3', ".3e3"]
core: ['str', '.3e3', "'.3e3'"]
'!!str 0.3e3':
failsafe, yaml11: ['str', '0.3e3', "0.3e3"]
json, core: ['str', '0.3e3', "'0.3e3'"]
'!!str +0.3e3':
failsafe, json, yaml11: ['str', '+0.3e3', "+0.3e3"]
core: ['str', '+0.3e3', "'+0.3e3'"]
'!!str 3.3e+3':
failsafe: ['str', '3.3e+3', "3.3e+3"]
json, core, yaml11: ['str', '3.3e+3', "'3.3e+3'"]
'!!str +0.3e+3':
failsafe, json: ['str', '+0.3e+3', "+0.3e+3"]
core, yaml11: ['str', '+0.3e+3', "'+0.3e+3'"]
'!!str 85.230_15e+03':
failsafe, json, core: ['str', '85.230_15e+03', "85.230_15e+03"]
yaml11: ['str', '85.230_15e+03', "'85.230_15e+03'"]
###############################################
# Sexagesimal
###############################################
'190:20:30.15':
failsafe, json, core: ['str', '190:20:30.15', '190:20:30.15']
yaml11: ['float', '685230.15', '685230.15']
'!!float 190:20:30.15':
yaml11: ['float', '685230.15', '685230.15']
'!!str 190:20:30.15':
failsafe, json, core: ['str', '190:20:30.15', "190:20:30.15"]
yaml11: ['str', '190:20:30.15', "'190:20:30.15'"]