marshmallow-sqlalchemy
                                
                                
                                
                                    marshmallow-sqlalchemy copied to clipboard
                            
                            
                            
                        sqlalchemy field type JSON apparently treated as String instead of Raw
When trying to load JSON data where a field contains (nested) JSON data and the SQLAlchemry field type is JSON, I get a ValidationError saying marshmallow.exceptions.ValidationError: {'defaults': ['Not a valid string.']} while I would have expected it being accepted and converted to marshmallow field type Raw instead of String.