jsonmapper
                                
                                 jsonmapper copied to clipboard
                                
                                    jsonmapper copied to clipboard
                            
                            
                            
                        Fixed bStrictObjectTypeChecking not enforced for array elements
this created some security issues in my projects.
Might be worth having createInstance() check if the object in question has any @required properties.
In the second case, the model's @required properties wouldn't be populated, but no error would be thrown.
This makes it a requirement to use bStrictObjectTypeChecking in any security-conscious situation, but it wasn't considered at all in the case of arrays.