JSONWriter can't serialize a Enum object.
                
                Brought to you by:
                
                    efficacy
                    
                
            
            
        
        
        
    JSONWriter generate OutOfMemory Exception when I try to serialize an Enum object.
I fix it serializing a Enum object using toString().
What do you think about this?
Patch in attachment.
Sorry of my english.
I'm posted it.