Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^5: JSON parsing issue please help

by james2vegas (Chaplain)
on Oct 01, 2012 at 10:00 UTC ( #996610=note: print w/ replies, xml ) Need Help??


in reply to Re^4: JSON parsing issue please help
in thread JSON parsing issue please help

If this someone has parsed this JSON with their own hand-rolled parser in Ruby, then that parser is accepting invalid JSON and should be dumped in favor of one used by other Ruby projects. If this is being parsed by a popular Ruby library, alert the maintainers of that code to the JSON spec (or the RFC) epecially this part:

array = begin-array [ value *( value-separator value ) ] end-arr +ay
Notice that it isn't array = begin-array [ *( value value-separator ) ] end array


Comment on Re^5: JSON parsing issue please help
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2014-09-20 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls