[−][src]Function ejdb_sys::bson_validate
pub unsafe extern "C" fn bson_validate(
bs: *mut bson,
checkdots: bool,
checkdollar: bool
) -> c_int
@brief Validate bson object. Set the bs->err bitmask as validation result.
@param bs Bson object to be validated. @param checkdots Check what keys contain dot(.) characters @param checkdollar Check what keys contain dollar($) characters @return BSON_OK if all checks passed otherwise return BSON_ERROR