-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Description
Hi team, there is a bug in BasicJsonParser.
The following JSON is not correctly parsed:
{"id": "393768460", "description": "claimId", "notifications": [ { "code": "003005", "type": "NBV", "description": "Corrosión activa asociada al riesgo de la póliza", "field": "policyNumber", "priority": "", "obfuscated": "false", "resolvingGroup": ["TI","SC","HS","IP","MA","CC"] } ]}
But the following JSON is correctly parsed:
{"id": "393768460", "description": "claimId", "notifications": [{ "code": "003005", "type": "NBV", "description": "Corrosión activa asociada al riesgo de la póliza", "field": "policyNumber", "priority": "", "obfuscated": "false", "resolvingGroup": ["TI","SC","HS","IP","MA","CC"] } ]}
The difference between both JSON are the spaces between the "[" and the "{".
I think that the problem is that the "tokenize" function does not eliminate the leading and trailling spaces.
Best regards!