Message309819
Generally speaking, parsing some things as decimal or datetime are schema dependent. It's unlikely that you would want to parse every string that looks enough like a decimal as a decimal, or that you would want to pay the cost of checking every string in the whole document to see if it's a decimal. This use case is probably better served using something like object_pairs_hook where you have some context available.
Ultimate flexibility is not the goal of this interface. It's grown a bit too much of that over time. At this point I'm a lot more interested in proposals that remove options rather than add them.
In order to provide maximal flexibility it would be much nicer to have a streaming interface available (like SAX for XML parsing), but that is not what this is. |
|
Date |
User |
Action |
Args |
2018-01-11 18:21:12 | bob.ippolito | set | recipients:
+ bob.ippolito, rhettinger, ezio.melotti, oberstet, serhiy.storchaka, Levi Cameron, Adrián Orive |
2018-01-11 18:21:12 | bob.ippolito | set | messageid: <1515694872.81.0.467229070634.issue29992@psf.upfronthosting.co.za> |
2018-01-11 18:21:12 | bob.ippolito | link | issue29992 messages |
2018-01-11 18:21:12 | bob.ippolito | create | |
|