[JAVA-1115] JSON parser parses braces incorrectly Created: 17/Feb/14  Updated: 25/Nov/15  Resolved: 25/Nov/15

Status: Closed
Project: Java Driver
Component/s: JSON
Affects Version/s: 2.11.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Antoine Girbal Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

when parsing the following JSON with too many braces:
{"_id":{{{{"$oid":"50c5c5b0b8be290c1d00014b"

The JSON parser from the driver parsed it in a very strange way with a key "{{{{{"$oid"".
So Looks like there is a bug in the parser when '{' are back to back.
This is with the strict extended JSON parser



 Comments   
Comment by Jeffrey Yemin [ 25/Nov/15 ]

Closing as Won't Fix, as the JSON.parse has been effectively replaced by JsonReader class introduced in the 3.0 driver.

Generated at Thu Feb 08 08:53:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.