Number parsing can be expensive and is not O(n) - a string with twice the number of digits as another string takes more than twice as long to parse. A malicious actor might craft dangerous a JSON payload with very long numbers. Idea would be to have a default limit - eg 1000 chars/bytes and to allow users to configure a bigger limit. A setting maybe on JsonFactory class. Relates to #813 - @cowtowncoder @plokhotnyuk this might be a more achievable v2.14 work item than the other new issues I raised.