82eb59a 2.0 git snapshot, removes non-standard serialization behaviour

Authored and Committed by adamwill 7 years ago
    2.0 git snapshot, removes non-standard serialization behaviour
    
    This is quite a major change that brings ujson's behaviour much
    more in line with other parsers. Previously it would do all
    kinds of magic to try and serialize stuff that is not, really,
    serializable at all - it'd 'serialize' objects as the contents
    of their `__dict__` property, and weird stuff like that. Now,
    it's changed upstream to be much more like other serializers
    and not do any of that magic, it should just raise an exception
    when you ask it to serialize something that isn't very clearly
    serializable.
    
    I've checked all the things I could find in Rawhide that use
    ujson and I think they should be OK with this. Most of them just
    use it optionally and fall back to simplejson or json if it's
    not available, so they should definitely be OK with the more
    'standard' serialization. sanic does not do this, it definitely
    requires ujson, but it doesn't seem to try and serialize things
    that aren't usually serializable, so it should be OK.
    
        
file modified
+1 -0
file modified
+26 -5
file modified
+1 -1