I spent 6 hours trying to work on a bug ticket assigned to me. It turns out the code has been trying to json_decode a floating-point number in scie...
For further actions, you may consider blocking this person and/or reporting abuse
You can do the same for ints and other types. There are various other ways you should optimize this function, here are a couple of suggestions:
For large JSON objects, use "json_validate" instead - it won't parse the whole JSON but just check that it is valid JSON.