allink28 / json-simple

Automatically exported from code.google.com/p/json-simple
Apache License 2.0
0 stars 0 forks source link

Parser/Lexer doesn't produce errors in some cases #43

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send the following JSON into the JSONValue parser/lexer:

{
  foo: "foo"
  bar: "bar"
}

What is the expected output? What do you see instead?
This should produce an error because there is no comma between the value of foo 
and the key bar. The correct JSON should be:

{
  foo: "foo",
  bar: "bar"
}

What version of the product are you using? On what operating system?
1.1

Original issue reported on code.google.com by bpontare...@gmail.com on 6 May 2011 at 6:30

GoogleCodeExporter commented 8 years ago
This is actually a duplicate of 
http://code.google.com/p/json-simple/issues/detail?id=16

Original comment by vladimir...@gmail.com on 16 May 2011 at 8:43

GoogleCodeExporter commented 8 years ago

Original comment by fangyid...@gmail.com on 29 Nov 2011 at 3:21