> Hello,
> 
> I noticed that // and /* */ are valid comments. However, when commenting bits 
> out
> I get an error, the following is valid JSON (I realize that it isn't a valid 
> scheme right now)
> 
> {
>    "type": "record",
>    "name": "FOOt",
>    "namespace":"org.me.you",
>    "fields" : [
>       {"name" : "data" , "type": [ "aX1","bX2","cX3"]}
>       // {"name" : "attributes" , "type":  {
>       //     "type" : "map",
>       //     "values" : [ "aX1", "bX2", "cX3"]
>       // }}
>   ]
> }
> 
> I get an Error parsing JSOn usning 1.6 Python bindings
> Uncommenting the region, it successfully parses but fails as an invalid 
> schema (separate issue)
> 
> Saptarshi
> 

Actually, I meant deleting instead of uncommenting. Deleting the commented out 
regions
actually parses. If comments were ignored, it should have parsed even before 
deletion.

Cheers

J

Reply via email to