Checks if there are duplicate fields based on their code in the json object passed on.
Checks if there are duplicate fields based on their code in the json object passed on. If duplicates are found an exception is thrown. If a field does not have a recognized type an exception is thrown as well.
@param jsonObject, object that contains the fields to check.
nothing if no duplicates are found and all fields have a recognized type.
Checks if there are incorrect values for the specified field type.
Checks if there are incorrect values for the specified field type. If incorrect values are found an exception is thrown. If a field does not have a recognized type an exception is thrown as well.
@param jsonObject, object that contains the fields to check.
nothing if no incorrect values are found and all fields have a recognized type.